Fix close behaviour not being respected

This commit is contained in:
crschnick committed 2026-05-31 21:46:57 +00:00
1 parent 9e43d1401a
commit ed962a54e5
1 file changed
+3 -3
@@ -23,12 +23,12 @@ public class CloseBehaviourDialog {
public static boolean showIfNeeded() {
if (AppOperationMode.isInShutdown()) {
return true;
return false;
}
boolean set = AppCache.getBoolean("closeBehaviourSet", false);
if (set) {
return true;
return false;
}
Property<CloseBehaviour> prop =
@@ -67,6 +67,6 @@ public class CloseBehaviourDialog {
oked.set(true);
}));
modal.showAndWait();
return oked.get();
return !oked.get();
}
}