Mercurial > dive4elements > river
changeset 7772:afa0ffc3a708
Validate waterlevel 'to' value on change.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Mon, 03 Mar 2014 15:39:35 +0100 |
parents | 57c47ab81a30 |
children | 87b58d56f667 |
files | gwt-client/src/main/java/org/dive4elements/river/client/client/ui/WaterlevelGroundPanel.java |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/WaterlevelGroundPanel.java Mon Mar 03 11:46:45 2014 +0100 +++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/WaterlevelGroundPanel.java Mon Mar 03 15:39:35 2014 +0100 @@ -25,6 +25,7 @@ FloatRangeValidator frv = new FloatRangeValidator(); frv.setMin(0f); frv.setMax(Float.MAX_VALUE); + frv.setValidateOnChange(true); distancePanel.getToItem().setValidators(frv); }