Mercurial > dive4elements > river
changeset 1508:8ac57bbc270c
Fixed initial boolean value setting.
flys-client/trunk@3646 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Wed, 11 Jan 2012 10:40:06 +0000 |
parents | c21d14e48040 |
children | 8c911c935b58 |
files | flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartPropertiesEditor.java |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-client/ChangeLog Wed Jan 11 10:21:22 2012 +0000 +++ b/flys-client/ChangeLog Wed Jan 11 10:40:06 2012 +0000 @@ -1,3 +1,8 @@ +2012-01-11 Raimund Renkert <raimund.renkert@intevation.de> + + * src/main/java/de/intevation/flys/client/client/ui/chart/ChartPropertiesEditor.java: + Fixed initial boolean value setting. + 2012-01-11 Raimund Renkert <raimund.renkert@intevation.de> Improved validation and property handling.
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartPropertiesEditor.java Wed Jan 11 10:21:22 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartPropertiesEditor.java Wed Jan 11 10:40:06 2012 +0000 @@ -273,7 +273,7 @@ FormItem item = new FormItem(); if (setting instanceof BooleanProperty) { item = createBooleanProperty((BooleanProperty)setting); - item.setValue(((BooleanProperty)orig).getValue().toString()); + item.setValue(((BooleanProperty)orig).getValue().booleanValue()); } else if (setting instanceof DoubleProperty) { item = createDoubleProperty((DoubleProperty)setting);