From d2a96a4503215bc7c3521e12cd90aec250e1df4e Mon Sep 17 00:00:00 2001 From: Jannis Harder Date: Wed, 22 Jun 2011 03:12:10 +0200 Subject: Fixed warning for new network games git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@571 72836036-5685-4462-b002-a69064685172 --- src/jrummikub/control/ApplicationControl.java | 5 ++--- 1 file 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; } }); - + } } }); } -- cgit v1.2.3