Changeset 2112 in josm for trunk/src/org
- Timestamp:
- 2009-09-13T11:49:12+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/mapmode/SelectAction.java
r2095 r2112 494 494 if (!selectedNodes.isEmpty()) { 495 495 selectedNodes.add(n); 496 MergeNodesAction mergeAction = new MergeNodesAction();497 Node targetNode = mergeAction.selectTargetNode(selectedNodes);498 mergeAction.mergeNodes(Main.main.getEditLayer(),selectedNodes, targetNode);496 Node targetNode = MergeNodesAction.selectTargetNode(selectedNodes); 497 Command cmd = MergeNodesAction.mergeNodes(Main.main.getEditLayer(),selectedNodes, targetNode); 498 Main.main.undoRedo.add(cmd); 499 499 } 500 500 }
Note:
See TracChangeset
for help on using the changeset viewer.