Changeset 12726 in josm for trunk/src/org/openstreetmap/josm/actions/mapmode/ImproveWayAccuracyAction.java
- Timestamp:
- 2017-09-04T23:45:49+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/mapmode/ImproveWayAccuracyAction.java
r12718 r12726 399 399 } 400 400 401 DataSet ds = getLayerManager().getEditDataSet(); 401 402 updateKeyModifiers(e); 402 403 mousePos = e.getPoint(); … … 404 405 if (state == State.SELECTING) { 405 406 if (targetWay != null) { 406 getLayerManager().getEditDataSet().setSelected(targetWay.getPrimitiveId());407 ds.setSelected(targetWay.getPrimitiveId()); 407 408 updateStateByCurrentSelection(); 408 409 } … … 425 426 Node virtualNode = new Node(mv.getEastNorth(mousePos.x, 426 427 mousePos.y)); 427 virtualCmds.add(new AddCommand( virtualNode));428 virtualCmds.add(new AddCommand(ds, virtualNode)); 428 429 429 430 // Looking for candidateSegment copies in ways that are
Note:
See TracChangeset
for help on using the changeset viewer.