From dcf87994cb4cb5083e12e2acb55ec6cf42e4d7e9 Mon Sep 17 00:00:00 2001 From: Jannis Harder Date: Sun, 19 Jun 2011 18:53:02 +0200 Subject: Show side panel only ingame git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@487 72836036-5685-4462-b002-a69064685172 --- src/jrummikub/control/ApplicationControl.java | 1 + src/jrummikub/control/GameControl.java | 1 + 2 files changed, 2 insertions(+) (limited to 'src/jrummikub/control') diff --git a/src/jrummikub/control/ApplicationControl.java b/src/jrummikub/control/ApplicationControl.java index 1ed517f..2271526 100644 --- a/src/jrummikub/control/ApplicationControl.java +++ b/src/jrummikub/control/ApplicationControl.java @@ -123,6 +123,7 @@ public class ApplicationControl { * Starts the application by showing the game settings dialog panel */ public void startApplication() { + view.showSidePanel(false); view.showScorePanel(false); view.setBottomPanel(BottomPanelType.START_GAME_PANEL); saveControl.setGameSettings(null); diff --git a/src/jrummikub/control/GameControl.java b/src/jrummikub/control/GameControl.java index 7149464..babca99 100644 --- a/src/jrummikub/control/GameControl.java +++ b/src/jrummikub/control/GameControl.java @@ -98,6 +98,7 @@ public class GameControl { */ public void startGame() { view.getSidePanel().setGameSettings(gameSettings); + view.showSidePanel(true); startRound(); } -- cgit v1.2.3