Changeset 4152 in josm
- Timestamp:
- 2011-06-19T23:55:40+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/mapmode/SelectAction.java
r4118 r4152 636 636 if (!target.isEmpty()) { 637 637 Collection<Node> nodesToMerge = new LinkedList<Node>(affectedNodes); 638 nodesToMerge.add(target.iterator().next());639 640 Command cmd = MergeNodesAction.mergeNodes(Main.main.getEditLayer(), nodesToMerge, t arget.iterator().next());638 Node t = target.iterator().next(); 639 nodesToMerge.add(t); 640 Command cmd = MergeNodesAction.mergeNodes(Main.main.getEditLayer(), nodesToMerge, t); 641 641 if (cmd != null) { 642 642 Main.main.undoRedo.add(cmd); 643 getCurrentDataSet().setSelected(t); 643 644 } 644 645 }
Note:
See TracChangeset
for help on using the changeset viewer.