Skip to content

Commit 34227c0

Browse files
committed
A null file will cancel the quit.
1 parent e91bb8b commit 34227c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/main/java/edu/wpi/grip/ui/MainWindowController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ private boolean showConfirmationDialogAndWait() {
122122
// If the user chose "Save", automatically show a save dialog and block until the user
123123
// has had a chance to save the project.
124124
try {
125-
saveProject();
125+
return saveProject();
126126
} catch (IOException e) {
127127
logger.log(Level.SEVERE, e.getMessage(), e.getCause());
128128
}

0 commit comments

Comments
 (0)