Skip to content

Commit 1e5fcd4

Browse files
authored
Merge pull request #661 from AustinShalit/fix/projectSaveNull
A null file will cancel application exit
2 parents e91bb8b + 34227c0 commit 1e5fcd4

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)