Actions
Bug #3879
closedAllow user to exit without saving
Status:
Resolved
Priority:
Normal
Assignee:
Category:
parser
Target version:
Start date:
03/10/2009
Due date:
% Done:
0%
Estimated time:
Bugzilla-Id:
3879
Description
In MainWindow, right now if the user closes the window via the system close command, MainWindow will close without saving the document. It's desirable to be able to do this, but the user should be warned if they do this; otherwise they will potentially lose lots of work.
We'd also like the user to be able to exit without saving via the File menu. This should execute the same code that clicking on the system close button does, so that we handle both of these cases uniformly.
Updated by Sandeep Namilikonda over 15 years ago
Appropriate changes made to MainWindow.java:
a) prompt a yes/no confirm dialog box to the user on window close event providing a chance to the user to save the work
b) add an "exit without save" option to file menu
Actions