- Timestamp:
- 2012-07-25T16:00:25+02:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/mapmode/ImproveWayAccuracyAction.java
r5260 r5364 587 587 state = State.improving; 588 588 589 List<OsmPrimitive> currentSelection = (List<OsmPrimitive>)getCurrentDataSet().getSelected();589 Collection<OsmPrimitive> currentSelection = getCurrentDataSet().getSelected(); 590 590 if (currentSelection.size() != 1 591 || !currentSelection. get(0).equals(targetWay)) {591 || !currentSelection.iterator().next().equals(targetWay)) { 592 592 selectionChangedBlocked = true; 593 593 getCurrentDataSet().clearSelection();
Note:
See TracChangeset
for help on using the changeset viewer.