Prevent window close if user choose cancel in quit window

This commit is contained in:
En-Jan Chou
2020-01-14 17:12:36 -05:00
parent b6a4f70ec9
commit 1ec9b0507d

View File

@@ -59,6 +59,7 @@ public class MainWindowTitleController implements FxController {
});
window.setOnCloseRequest(event -> {
close();
event.consume();
});
}