mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-12 08:58:02 -04:00
main window: fix "Manage Account Modal" not blocking main window
This commit is contained in:
parent
9d12a40596
commit
89bd924bee
@ -79,14 +79,14 @@ public class Launcher {
|
||||
stage.setTitle(LocaleManager.translate(Strings.MAIN_WINDOW_TITLE));
|
||||
stage.getIcons().add(GUITools.logo);
|
||||
stage.setOnCloseRequest(windowEvent -> System.exit(0));
|
||||
if (Minosoft.getSelectedAccount() == null) {
|
||||
MainWindow.manageAccounts();
|
||||
}
|
||||
if (exit) {
|
||||
return;
|
||||
}
|
||||
stage.show();
|
||||
Launcher.stage = stage;
|
||||
if (Minosoft.getSelectedAccount() == null) {
|
||||
MainWindow.manageAccounts();
|
||||
}
|
||||
latch.countDown();
|
||||
});
|
||||
latch.await();
|
||||
|
Loading…
x
Reference in New Issue
Block a user