Changeset 13882 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2018-06-03T19:21:09+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/mapmode/DrawAction.java
r13614 r13882 1182 1182 1183 1183 // This happens when nothing is selected, but we still want to highlight the "target node" 1184 if (mouseOnExistingNode == null && mousePos != null && getLayerManager().getEditDataSet().selectionEmpty()) { 1184 DataSet ds = getLayerManager().getEditDataSet(); 1185 if (mouseOnExistingNode == null && mousePos != null && ds != null && ds.selectionEmpty()) { 1185 1186 mouseOnExistingNode = mapView.getNearestNode(mousePos, OsmPrimitive::isSelectable); 1186 1187 }
Note:
See TracChangeset
for help on using the changeset viewer.