提交 c13ff9e3 编写于 作者: E Eduardo Ramos

Fix Issue #686

上级 ae2c66f7
......@@ -129,7 +129,7 @@ public class Installer extends ModuleInstall {
int option = JOptionPane.showConfirmDialog(WindowManager.getDefault().getMainWindow(), NbBundle.getMessage(Installer.class, "CloseConfirmation.message"), NbBundle.getMessage(Installer.class, "CloseConfirmation.message"), JOptionPane.YES_NO_CANCEL_OPTION, JOptionPane.WARNING_MESSAGE);
if (option == JOptionPane.YES_OPTION) {
Lookup.getDefault().lookup(ProjectControllerUI.class).saveProject();
} else if (option == JOptionPane.CANCEL_OPTION) {
} else if (option == JOptionPane.CANCEL_OPTION || option == JOptionPane.CLOSED_OPTION) {
return false;//Exit canceled
}
Lookup.getDefault().lookup(ProjectController.class).closeCurrentProject();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册