Mercurial > dive4elements > river
changeset 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 |
files | gwt-client/src/main/java/org/dive4elements/river/client/client/ui/map/LegendWindow.java |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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());