Project

General

Profile

Actions

Bug #3879

closed

Allow user to exit without saving

Added by Ryan McFall almost 14 years ago. Updated almost 14 years ago.

Status:
Resolved
Priority:
Normal
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.

Actions #1

Updated by Sandeep Namilikonda almost 14 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 #2

Updated by Redmine Admin almost 10 years ago

Original Bugzilla ID was 3879

Actions

Also available in: Atom PDF