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:
parent
a9361e3f02
commit
6b0acd9b88
@ -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());
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user