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:
parent
0e36eb9c38
commit
483382946b
1 changed files with 5 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Reference in a new issue