# HG changeset patch # User Raimund Renkert # Date 1346411969 0 # Node ID 02d18d38fca7e8b49eae4d4bfd2647858e89e118 # Parent b67af5b44d68084ac476275c7aa7dd790d4373b2 Use river data in all states not only winfo in location/distance ui provider. flys-client/trunk@5326 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r b67af5b44d68 -r 02d18d38fca7 flys-client/ChangeLog --- 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 +2012-08-31 Raimund Renkert + + * 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 * src/main/java/de/intevation/flys/client/client/ui/ExportPanel.java: Hide the W/Q AT export button in fix analysis parameter tab. diff -r b67af5b44d68 -r 02d18d38fca7 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 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();