summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/control/network/NetworkSettingsControl.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/jrummikub/control/network/NetworkSettingsControl.java')
-rw-r--r--src/jrummikub/control/network/NetworkSettingsControl.java11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/jrummikub/control/network/NetworkSettingsControl.java b/src/jrummikub/control/network/NetworkSettingsControl.java
index d9871d9..41cf5f8 100644
--- a/src/jrummikub/control/network/NetworkSettingsControl.java
+++ b/src/jrummikub/control/network/NetworkSettingsControl.java
@@ -48,16 +48,16 @@ public class NetworkSettingsControl extends AbstractSettingsControl {
addListeners();
- connections.add(view.getSettingsPanel().getOfferGameEvent().add(
- new IListener() {
+ connections.add(view.getSettingsPanel().getOfferGameEvent()
+ .add(new IListener() {
@Override
public void handle() {
offerGame();
}
}));
- connections.add(view.getSettingsPanel().getBackEvent().add(
- new IListener() {
+ connections.add(view.getSettingsPanel().getBackEvent()
+ .add(new IListener() {
@Override
public void handle() {
abort();
@@ -96,8 +96,7 @@ public class NetworkSettingsControl extends AbstractSettingsControl {
@Override
protected void update() {
- view
- .getSettingsPanel()
+ view.getSettingsPanel()
.enableAddPlayerButton(
settings.getPlayerList().size() < ISettingsPanel.PLAYER_COLORS.length);