[PATCH] yet another attempt

Wald Commits scm-commit at wald.intevation.org
Wed Jan 20 16:17:47 CET 2021


# HG changeset patch
# User dnt_bjoernsen <d.tironi at bjoernsen.de>
# Date 1611155852 -3600
#      Wed Jan 20 16:17:32 2021 +0100
# Node ID 15404504ea9edaa4f8f8b1c2a480304c079d7750
# Parent  e388db7fd72ea2d17c2d896c7555d84e8ec1e9f4
yet another attempt

diff -r e388db7fd72e -r 15404504ea9e gwt-client/src/main/java/org/dive4elements/river/client/client/ui/map/LegendWindow.java
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/map/LegendWindow.java	Wed Jan 20 15:55:08 2021 +0100
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/map/LegendWindow.java	Wed Jan 20 16:17:32 2021 +0100
@@ -65,8 +65,12 @@
 			}
 			try {
 				if (theme instanceof AttributedTheme) {
+					theme.setActive(0);
 					Canvas createLegendGraphicsRow = createLegendGraphicsRow((AttributedTheme) theme);
-					this.legendContainer.addMember(createLegendGraphicsRow);
+//					this.legendContainer.addMember(createLegendGraphicsRow);
+					theme.setActive(1);
+					Canvas createLegendGraphicsRow2 = createLegendGraphicsRow((AttributedTheme) theme);
+					this.legendContainer.addMember(createLegendGraphicsRow2);
 				}
 			} catch (Exception e) {
 				com.smartgwt.client.util.SC.say("exception at index " + themes.size());


More information about the Dive4Elements-commits mailing list