* 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
1 changed files with 3 additions and 1 deletions

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());
}