Changeset 3319 in josm for trunk/src/org


Ignore:
Timestamp:
2010-06-08T18:53:58+02:00 (14 years ago)
Author:
stoecker
Message:

see #2281 - line color not always initialized

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/mappaint/LineElemStyle.java

    r3301 r3319  
    1818    static {
    1919        UNTAGGED_WAY = new LineElemStyle();
    20         UNTAGGED_WAY.color = PaintColors.UNTAGGED.get();
    2120    }
    2221
     
    7877        dashedColor = null;
    7978        priority = 0;
    80         color = null;
     79        color = PaintColors.UNTAGGED.get();
    8180        over = true; // only used for line modifications
    8281        widthMode = WidthMode.ABSOLUTE;
Note: See TracChangeset for help on using the changeset viewer.