mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
vcs: fix commit dialog disposal
* call `close()` directly, without `getOKAction().isEnabled()` check
* this was broken in 2f19315, because `getOKAction()` no longer returns
new Action instance on each invocation (that is always enabled)
This commit is contained in:
+1
-1
@@ -645,7 +645,7 @@ public class CommitChangeListDialog extends DialogWrapper implements CheckinProj
|
||||
CheckinHandler.ReturnResult result = runBeforeCommitHandlers(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
CommitChangeListDialog.super.doOKAction();
|
||||
close(OK_EXIT_CODE);
|
||||
doCommit(myResultHandler);
|
||||
}
|
||||
}, null);
|
||||
|
||||
Reference in New Issue
Block a user