Mercurial > dive4elements > river
diff flys-client/src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java @ 1531:8b4688a2e25d
Set the empty facet to invisible.
flys-client/trunk@3739 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Fri, 20 Jan 2012 09:52:48 +0000 |
parents | 8c911c935b58 |
children | cfe88143ee89 |
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java Fri Jan 20 09:25:00 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java Fri Jan 20 09:52:48 2012 +0000 @@ -230,6 +230,10 @@ for (int i = 1; i <= count; i++) { Theme theme = themeList.getThemeAt(i); + if(theme.getFacet().equals("empty.facet")) { + theme.setVisible(0); + } + if (theme == null || theme.getVisible() == 0) { continue; }