From 483382946bd5813d2b96adde2c9406d2be1150c2 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Wed, 22 Jun 2011 08:58:22 +0200 Subject: Correctly reset view on network game abort git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@588 72836036-5685-4462-b002-a69064685172 --- src/jrummikub/control/network/NetworkControl.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/jrummikub/control/network/NetworkControl.java b/src/jrummikub/control/network/NetworkControl.java index 85a0aff..154ea06 100644 --- a/src/jrummikub/control/network/NetworkControl.java +++ b/src/jrummikub/control/network/NetworkControl.java @@ -237,8 +237,6 @@ public class NetworkControl { for (Connection c : connections) { c.remove(); } - view.showGameListPanel(false); - view.showConnectPanel(false); abortControls(); @@ -262,6 +260,11 @@ public class NetworkControl { gameControl.abortGame(); gameControl = null; } + + view.showGameListPanel(false); + view.showConnectPanel(false); + view.showSidePanel(false); + view.setBottomPanel(BottomPanelType.START_GAME_PANEL); } /** -- cgit v1.2.3