From 56797840e2c16913627bfa57f2a49d1788443727 Mon Sep 17 00:00:00 2001 From: Ida Massow Date: Mon, 13 Jun 2011 18:22:57 +0200 Subject: =?UTF-8?q?Buttons=20im=20Settings=20panel=20sind=20richtig=20im?= =?UTF-8?q?=20netzwerk=20und=20au=C3=9Ferhalb?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@421 72836036-5685-4462-b002-a69064685172 --- src/jrummikub/control/SettingsControl.java | 2 +- src/jrummikub/control/network/NetworkSettingsControl.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src/jrummikub/control') diff --git a/src/jrummikub/control/SettingsControl.java b/src/jrummikub/control/SettingsControl.java index 0da2f19..4103a38 100644 --- a/src/jrummikub/control/SettingsControl.java +++ b/src/jrummikub/control/SettingsControl.java @@ -40,6 +40,7 @@ public class SettingsControl { public SettingsControl(IView view, GameSettings settings) { this.view = view; this.settings = settings; + view.getSettingsPanel().enableNetworkMode(false); } /** @@ -71,7 +72,6 @@ public class SettingsControl { startGame(); } })); - view.showSettingsPanel(true); } diff --git a/src/jrummikub/control/network/NetworkSettingsControl.java b/src/jrummikub/control/network/NetworkSettingsControl.java index 0c06df4..9459986 100644 --- a/src/jrummikub/control/network/NetworkSettingsControl.java +++ b/src/jrummikub/control/network/NetworkSettingsControl.java @@ -28,6 +28,7 @@ public class NetworkSettingsControl extends SettingsControl { IView view, GameSettings settings) { super(view, settings); this.connectionControl = connectionControl; + view.getSettingsPanel().enableNetworkMode(true); } @Override -- cgit v1.2.3