summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/control/SettingsControl.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/jrummikub/control/SettingsControl.java')
-rw-r--r--src/jrummikub/control/SettingsControl.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/jrummikub/control/SettingsControl.java b/src/jrummikub/control/SettingsControl.java
index 6da2e20..8a8fd62 100644
--- a/src/jrummikub/control/SettingsControl.java
+++ b/src/jrummikub/control/SettingsControl.java
@@ -333,4 +333,12 @@ public class SettingsControl {
}
startGameEvent.emit(settings);
}
+
+ public void abort() {
+ // TODO Auto-generated method stub
+ view.showSettingsPanel(false);
+ for (Connection c : connections) {
+ c.remove();
+ }
+ }
}