summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2011-06-22 08:58:22 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2011-06-22 08:58:22 +0200
commit483382946bd5813d2b96adde2c9406d2be1150c2 (patch)
tree15f708233b506a8c011e6e453b2dca1070d64724
parent0e36eb9c3860b3fcf2b74c9633247efe8a3d5c41 (diff)
downloadJRummikub-483382946bd5813d2b96adde2c9406d2be1150c2.tar
JRummikub-483382946bd5813d2b96adde2c9406d2be1150c2.zip
Correctly reset view on network game abort
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@588 72836036-5685-4462-b002-a69064685172
-rw-r--r--src/jrummikub/control/network/NetworkControl.java7
1 files 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);
}
/**