Mercurial > dive4elements > river
changeset 3526:02d18d38fca7
Use river data in all states not only winfo in location/distance ui provider.
flys-client/trunk@5326 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Fri, 31 Aug 2012 11:19:29 +0000 |
parents | b67af5b44d68 |
children | 6ededa5aa803 |
files | flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java |
diffstat | 2 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-client/ChangeLog Fri Aug 31 10:57:07 2012 +0000 +++ b/flys-client/ChangeLog Fri Aug 31 11:19:29 2012 +0000 @@ -1,4 +1,9 @@ -2012-08-28 Raimund Renkert <raimund.renkert@intevation.de> +2012-08-31 Raimund Renkert <raimund.renkert@intevation.de> + + * src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java: + Use river data in all states not only winfo. + +2012-08-31 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ExportPanel.java: Hide the W/Q AT export button in fix analysis parameter tab.
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java Fri Aug 31 10:57:07 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java Fri Aug 31 11:19:29 2012 +0000 @@ -1323,7 +1323,7 @@ if (data != null && data.length > 0) { for (int i = 0; i < data.length; i++) { DataList dl = data[i]; - if (dl.getState().equals("state.winfo.river")) { + if (dl.getState().endsWith("river")) { for (int j = 0; j < dl.size(); j++) { Data d = dl.get(j); DataItem[] di = d.getItems();