[PATCH] Do not show lines if showlines is not set

Wald Commits scm-commit at wald.intevation.org
Fri Mar 27 14:40:21 CET 2015


# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1427463541 -3600
# Node ID c421c9530abacb62abe64164ac3b3388505ea751
# Parent  57e0bfda1c76d85d5c11e4daabb7ad851adfd0b3
Do not show lines if showlines is not set.

    As with points lines should only be shown if showlines is
    explicitly set to true and not by default. Every line should
    have a theme to be editable

diff -r 57e0bfda1c76 -r c421c9530aba artifacts/src/main/java/org/dive4elements/river/themes/ThemeDocument.java
--- a/artifacts/src/main/java/org/dive4elements/river/themes/ThemeDocument.java	Fri Mar 27 13:40:25 2015 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/themes/ThemeDocument.java	Fri Mar 27 14:39:01 2015 +0100
@@ -358,7 +358,7 @@
 
     public boolean parseShowLine() {
         String show = getValue(SHOW_LINE);
-        return parseBoolean(show, true);
+        return parseBoolean(show, false);
     }
 
     public int parseFontStyle() {


More information about the Dive4Elements-commits mailing list