Changeset 1589 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2009-05-14T17:57:49+02:00 (16 years ago)
Author:
stoecker
Message:

fixed #2575 - illegal defaults for gps line drawing

Location:
trunk/src/org/openstreetmap/josm/gui/layer
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/GpxLayer.java

    r1577 r1589  
    403403        }
    404404        // draw line between points, global setting
    405         boolean lines = (Main.pref.getBoolean("draw.rawgps.lines") || (Main.pref.getBoolean("draw.rawgps.lines.localfiles") && this.isLocalFile));
     405        boolean lines = (Main.pref.getBoolean("draw.rawgps.lines", true) || (Main.pref.getBoolean("draw.rawgps.lines.localfiles") && this.isLocalFile));
    406406        String linesKey = "draw.rawgps.lines.layer "+name;
    407407        // draw lines, per-layer setting
  • trunk/src/org/openstreetmap/josm/gui/layer/RawGpsLayer.java

    r1435 r1589  
    124124
    125125        boolean force = Main.pref.getBoolean("draw.rawgps.lines.force");
    126         boolean lines = Main.pref.getBoolean("draw.rawgps.lines");
     126        boolean lines = Main.pref.getBoolean("draw.rawgps.lines", true);
    127127        String linesKey = "draw.rawgps.lines.layer "+name;
    128128        if (Main.pref.hasKey(linesKey))
Note: See TracChangeset for help on using the changeset viewer.