# HG changeset patch # User Andre Heinecke # Date 1387474503 -3600 # Node ID 27578853bf24347e58d7a9b3cc9c63647887cd95 # Parent a35da155865fcee3f1474f55c919bcc963163f47 (issue1622) Allow areas with w_differences diff -r a35da155865f -r 27578853bf24 gwt-client/src/main/java/org/dive4elements/river/client/client/ui/chart/ChartThemePanel.java --- 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"); }