changeset 4687:b3d7d5289b7f

Display all 'tranparency' attributes.
author Raimund Renkert <rrenkert@intevation.de>
date Mon, 17 Dec 2012 15:54:15 +0100
parents 85876e3a5346
children 1e23998aa4db
files flys-client/src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java	Mon Dec 17 15:32:53 2012 +0100
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java	Mon Dec 17 15:54:15 2012 +0100
@@ -432,7 +432,7 @@
                 f.setValueMap(valueMap);
                 f.setValue(value);
             }
-            else if (name.equals("transparency")) {
+            else if (name.contains("transparency")) {
                 LinkedHashMap<String, String> valueMap = new LinkedHashMap<String, String>();
                 for (int n = 10; n < 100; n += 10) {
                     valueMap.put(Integer.toString(n), n + "%");

http://dive4elements.wald.intevation.org