Changeset 10853 in josm for trunk/src/org/openstreetmap/josm/actions/mapmode/ImproveWayAccuracyAction.java
- Timestamp:
- 2016-08-19T03:43:18+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/mapmode/ImproveWayAccuracyAction.java
r10827 r10853 37 37 import org.openstreetmap.josm.data.osm.visitor.paint.MapPath2D; 38 38 import org.openstreetmap.josm.data.osm.visitor.paint.PaintColors; 39 import org.openstreetmap.josm.data.preferences.ColorProperty; 39 40 import org.openstreetmap.josm.gui.MapFrame; 40 41 import org.openstreetmap.josm.gui.MapView; … … 152 153 @Override 153 154 protected void readPreferences() { 154 guideColor = Main.pref.getColor(marktr("improve way accuracy helper line"), null); 155 if (guideColor == null) guideColor = PaintColors.HIGHLIGHT.get(); 155 guideColor = new ColorProperty(marktr("improve way accuracy helper line"), (Color) null).get(); 156 if (guideColor == null) 157 guideColor = PaintColors.HIGHLIGHT.get(); 156 158 157 159 selectTargetWayStroke = GuiHelper.getCustomizedStroke(Main.pref.get("improvewayaccuracy.stroke.select-target", "2"));
Note:
See TracChangeset
for help on using the changeset viewer.