Changeset 13453 in josm for trunk/src/org/openstreetmap/josm/actions/SplitWayAction.java
- Timestamp:
- 2018-02-24T18:58:28+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/SplitWayAction.java
r13434 r13453 297 297 // Selection still can be wrong, but let SplitWayAction process and tell user what's wrong 298 298 setEnabled(selection != null && !selection.isEmpty() 299 && selection.stream().map(OsmPrimitive::getDataSet).noneMatch(DataSet::is ReadOnly)299 && selection.stream().map(OsmPrimitive::getDataSet).noneMatch(DataSet::isLocked) 300 300 && selection.stream().anyMatch(o -> o instanceof Node && !o.isIncomplete())); 301 301 }
Note:
See TracChangeset
for help on using the changeset viewer.