summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/control
diff options
context:
space:
mode:
authorJannis Harder <harder@informatik.uni-luebeck.de>2011-06-21 00:56:05 +0200
committerJannis Harder <harder@informatik.uni-luebeck.de>2011-06-21 00:56:05 +0200
commit2f08091b65fdff96d3671549e74384ec8306668d (patch)
treeab4c56e0fa4ada543a99a7eb6f0ffaa14bea8b32 /src/jrummikub/control
parenta0573a59282fb431d094d91ba388b7ba0c8fa69d (diff)
downloadJRummikub-2f08091b65fdff96d3671549e74384ec8306668d.tar
JRummikub-2f08091b65fdff96d3671549e74384ec8306668d.zip
Made showing of hand stone count working
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@520 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'src/jrummikub/control')
-rw-r--r--src/jrummikub/control/AbstractSettingsControl.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/jrummikub/control/AbstractSettingsControl.java b/src/jrummikub/control/AbstractSettingsControl.java
index 7a38478..ee0c96c 100644
--- a/src/jrummikub/control/AbstractSettingsControl.java
+++ b/src/jrummikub/control/AbstractSettingsControl.java
@@ -168,6 +168,15 @@ public abstract class AbstractSettingsControl {
update();
}
}));
+
+ connections.add(view.getSettingsPanel().getChangeSeeHandSizeEvent()
+ .add(new IListener1<Boolean>() {
+ @Override
+ public void handle(Boolean value) {
+ settings.setSeeHandSize(value);
+ update();
+ }
+ }));
}
/**