Skip to content

Commit d8ad5d1

Browse files
when advancing day set cursor to wait cursor, reset to defaul cursr when done
1 parent 20cd724 commit d8ad5d1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

MekHQ/src/mekhq/gui/CampaignGUI.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1114,9 +1114,11 @@ private void initTopButtons() {
11141114

11151115
SwingUtilities.invokeLater(() -> {
11161116
try {
1117+
setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
11171118
getCampaignController().advanceDay();
11181119
} finally {
11191120
btnAdvanceDay.setEnabled(true);
1121+
setCursor(Cursor.getDefaultCursor());
11201122
}
11211123
});
11221124
});

0 commit comments

Comments
 (0)