summaryrefslogtreecommitdiffstats
path: root/src/jrummikub
diff options
context:
space:
mode:
authorJannis Harder <harder@informatik.uni-luebeck.de>2011-06-22 03:12:10 +0200
committerJannis Harder <harder@informatik.uni-luebeck.de>2011-06-22 03:12:10 +0200
commitd2a96a4503215bc7c3521e12cd90aec250e1df4e (patch)
treedd2ecdf41e43865751a09fc7dfc471223a92ac51 /src/jrummikub
parentd6c4da62243310b85a82e73e55249de9af7fdb11 (diff)
downloadJRummikub-d2a96a4503215bc7c3521e12cd90aec250e1df4e.tar
JRummikub-d2a96a4503215bc7c3521e12cd90aec250e1df4e.zip
Fixed warning for new network games
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@571 72836036-5685-4462-b002-a69064685172
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;
}
});
-
+ }
}
});
}