diff options
author | Jannis Harder <harder@informatik.uni-luebeck.de> | 2011-06-22 03:12:10 +0200 |
---|---|---|
committer | Jannis Harder <harder@informatik.uni-luebeck.de> | 2011-06-22 03:12:10 +0200 |
commit | d2a96a4503215bc7c3521e12cd90aec250e1df4e (patch) | |
tree | dd2ecdf41e43865751a09fc7dfc471223a92ac51 /src/jrummikub/control | |
parent | d6c4da62243310b85a82e73e55249de9af7fdb11 (diff) | |
download | JRummikub-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/control')
-rw-r--r-- | src/jrummikub/control/ApplicationControl.java | 5 |
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; } }); - + } } }); } |