# HG changeset patch # User Raimund Renkert # Date 1337854322 0 # Node ID d632a6526ad9d0c3b7720672b6a7d1d32f41659b # Parent c48e3df12c4aad47230f652c0ef448848c85daf5 Set the facet and the index to valid values. flys-client/trunk@4500 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r c48e3df12c4a -r d632a6526ad9 flys-client/ChangeLog --- 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 + + * 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 * src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java: diff -r c48e3df12c4a -r d632a6526ad9 flys-client/src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.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);