1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-04 16:35:08 -05:00

* hotfix: make sure to reset the cursor and to stay in loading_state forever

This commit is contained in:
Reinhard Pointner 2011-11-11 15:51:50 +00:00
parent a9361e3f02
commit 6b0acd9b88

View File

@ -58,8 +58,8 @@ class RenameAction extends AbstractAction {
return;
}
Window window = getWindow(evt.getSource());
try {
Window window = getWindow(evt.getSource());
Map<File, File> renameMap = checkRenamePlan(validate(model.getRenameMap(), window));
window.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
@ -82,6 +82,8 @@ class RenameAction extends AbstractAction {
// could not rename one of the files, revert all changes
UILogger.warning(e.getMessage());
}
window.setCursor(Cursor.getDefaultCursor());
}