summaryrefslogtreecommitdiffstats
path: root/src/jrummikub
diff options
context:
space:
mode:
Diffstat (limited to 'src/jrummikub')
-rw-r--r--src/jrummikub/control/ApplicationControl.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/jrummikub/control/ApplicationControl.java b/src/jrummikub/control/ApplicationControl.java
index c0c3dad..7590081 100644
--- a/src/jrummikub/control/ApplicationControl.java
+++ b/src/jrummikub/control/ApplicationControl.java
@@ -73,21 +73,20 @@ public class ApplicationControl {
abortControls();
createLoginControl(true);
} else {
- showQuitWarning();
- }
view.getQuitWarningPanel().setMode(QuitMode.QUIT_PROCESS);
view.showQuitWarningPanel(true);
tempConnection = view.getQuitWarningPanel().getQuitEvent()
.add(new IListener() {
@Override
public void handle() {
+ view.showQuitWarningPanel(false);
abortControls();
createLoginControl(true);
tempConnection.remove();
tempConnection = null;
}
});
-
+ }
}
});
}