mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
return correct exit code on escape
This commit is contained in:
@@ -179,7 +179,7 @@ public class HotSwapUIImpl extends HotSwapUI implements ProjectComponent{
|
||||
@Override
|
||||
public Integer fun(Integer exitCode, JCheckBox cb) {
|
||||
settings.HOTSWAP_HANG_WARNING_ENABLED = !cb.isSelected();
|
||||
return exitCode;
|
||||
return exitCode == DialogWrapper.OK_EXIT_CODE? exitCode : DialogWrapper.CANCEL_EXIT_CODE;
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user