comparison gwt-client/src/main/java/org/dive4elements/river/client/client/ui/map/LegendWindow.java @ 9697:15404504ea9e

yet another attempt
author dnt_bjoernsen <d.tironi@bjoernsen.de>
date Wed, 20 Jan 2021 16:17:32 +0100
parents e388db7fd72e
children 812a6a3eaaf5
comparison
equal deleted inserted replaced
9696:e388db7fd72e 9697:15404504ea9e
63 if (theme.getActive() == 0) { 63 if (theme.getActive() == 0) {
64 continue; 64 continue;
65 } 65 }
66 try { 66 try {
67 if (theme instanceof AttributedTheme) { 67 if (theme instanceof AttributedTheme) {
68 theme.setActive(0);
68 Canvas createLegendGraphicsRow = createLegendGraphicsRow((AttributedTheme) theme); 69 Canvas createLegendGraphicsRow = createLegendGraphicsRow((AttributedTheme) theme);
69 this.legendContainer.addMember(createLegendGraphicsRow); 70 // this.legendContainer.addMember(createLegendGraphicsRow);
71 theme.setActive(1);
72 Canvas createLegendGraphicsRow2 = createLegendGraphicsRow((AttributedTheme) theme);
73 this.legendContainer.addMember(createLegendGraphicsRow2);
70 } 74 }
71 } catch (Exception e) { 75 } catch (Exception e) {
72 com.smartgwt.client.util.SC.say("exception at index " + themes.size()); 76 com.smartgwt.client.util.SC.say("exception at index " + themes.size());
73 continue; 77 continue;
74 } 78 }

http://dive4elements.wald.intevation.org