# HG changeset patch # User Raimund Renkert # Date 1305027469 0 # Node ID f3ea644800c437304c881c5a0dbee865ec30c7ae # Parent dd1dad2ff94e2ab8d11ed8e0d785847a3ec35916 Fixed the location input. A range selection sets the correct location values now. flys-client/trunk@1876 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r dd1dad2ff94e -r f3ea644800c4 flys-client/ChangeLog --- a/flys-client/ChangeLog Tue May 10 10:57:57 2011 +0000 +++ b/flys-client/ChangeLog Tue May 10 11:37:49 2011 +0000 @@ -1,3 +1,9 @@ +2011-05-10 Raimund Renkert + + * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java: + Fixed the location input. A range selection sets the correct location values + now. + 2011-05-10 Raimund Renkert * src/main/java/de/intevation/flys/client/client/ui/ParameterList.java, diff -r dd1dad2ff94e -r f3ea644800c4 flys-client/src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java --- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java Tue May 10 10:57:57 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java Tue May 10 11:37:49 2011 +0000 @@ -197,6 +197,9 @@ } else { double[] selected; + Record r = e.getRecord(); + double min = r.getAttributeAsDouble("from"); + double max = r.getAttributeAsDouble("to"); if (getLocationValues() != null) { double[] val = getLocationValues(); selected = new double[val.length + 2];