Mercurial > dive4elements > river
changeset 2543:d632a6526ad9
Set the facet and the index to valid values.
flys-client/trunk@4500 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Thu, 24 May 2012 10:12:02 +0000 |
parents | c48e3df12c4a |
children | 04bd9f1611a1 |
files | flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java |
diffstat | 2 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-client/ChangeLog Thu May 24 05:25:38 2012 +0000 +++ b/flys-client/ChangeLog Thu May 24 10:12:02 2012 +0000 @@ -1,3 +1,9 @@ +2012-05-24 Raimund Renkert <raimund.renkert@intevation.de> + + * src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java: + Set the facet and index of the available styles to the values of the + current one. + 2012-05-24 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java:
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java Thu May 24 05:25:38 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java Thu May 24 10:12:02 2012 +0000 @@ -182,8 +182,8 @@ while (i.hasNext()) { String s = i.next().toString(); Style tmp = styleGroups.get(s); - tmp.setFacet(facet.getTheme().getFacet()); - tmp.setIndex(0); + tmp.setFacet(current.getFacet()); + tmp.setIndex(current.getIndex()); valueMap.put(s, s); } styleChooser.setValueMap(valueMap);