Changeset 12974 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2017-10-10T01:54:31+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/MergeNodesAction.java
r12846 r12974 76 76 Collection<OsmPrimitive> selection = getLayerManager().getEditDataSet().getAllSelected(); 77 77 List<Node> selectedNodes = OsmPrimitive.getFilteredList(selection, Node.class); 78 selectedNodes.removeIf(n -> n.isDeleted() || n.isIncomplete()); 78 79 79 80 if (selectedNodes.size() == 1) {
Note:
See TracChangeset
for help on using the changeset viewer.