Correctly reset view on network game abort

git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@588 72836036-5685-4462-b002-a69064685172
This commit is contained in:
Matthias Schiffer 2011-06-22 08:58:22 +02:00
parent 0e36eb9c38
commit 483382946b

View file

@ -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);
}
/**