Mercurial > dive4elements > river
changeset 7712:27578853bf24
(issue1622) Allow areas with w_differences
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Thu, 19 Dec 2013 18:35:03 +0100 |
parents | a35da155865f |
children | dfe3f78fd3e5 |
files | gwt-client/src/main/java/org/dive4elements/river/client/client/ui/chart/ChartThemePanel.java |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/chart/ChartThemePanel.java Thu Dec 19 18:19:24 2013 +0100 +++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/chart/ChartThemePanel.java Thu Dec 19 18:35:03 2013 +0100 @@ -287,6 +287,10 @@ if (a.equals(b)) { return false; } + if (a.getFacet().equals("w_differences") && + b.getFacet().equals("w_differences")) { + return true; + } if (a.getFacet().equals("longitudinal_section.w") || a.getFacet().equals("other.wqkms.w") || a.getFacet().equals("other.wqkms") || @@ -319,7 +323,8 @@ || a.getFacet().equals("discharge_longitudinal_section.w") || a.getFacet().equals("discharge_longitudinal_section.q") || a.getFacet().startsWith("other.wqkms") - || a.getFacet().equals("other.wkms"); + || a.getFacet().equals("other.wkms") + || a.getFacet().equals("w_differences"); }