Changeset 183 in josm


Ignore:
Timestamp:
2006-12-31T18:05:55+01:00 (18 years ago)
Author:
imi
Message:
  • fixed a NPE just introduced in the show ordered segment feature
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/org/openstreetmap/josm/data/osm/visitor/SimplePaintVisitor.java

    r181 r183  
    9090                        if (!ls.selected) // selected already in good color
    9191                                drawSegment(ls, w.selected ? getPreferencesColor("selected", Color.WHITE) : wayColor);
    92                         if (Main.pref.getBoolean("draw.segment.order_number"))
     92                        if (!ls.incomplete && Main.pref.getBoolean("draw.segment.order_number"))
    9393                                drawOrderNumber(ls, orderNumber);
    9494                }
Note: See TracChangeset for help on using the changeset viewer.