mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-11 16:36:58 -04:00
Make StartProgressWindow closeable
This commit is contained in:
parent
8a0c045dc4
commit
b0e22ea52d
@ -56,6 +56,7 @@ public class StartProgressWindow extends Application {
|
||||
progressDialog.getDialogPane().setContent(grid);
|
||||
Stage stage = (Stage) progressDialog.getDialogPane().getScene().getWindow();
|
||||
stage.initModality(Modality.APPLICATION_MODAL);
|
||||
stage.setOnCloseRequest((request) -> System.exit(0));
|
||||
if (exit) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user