Changeset 12641 in josm for trunk/src/org/openstreetmap/josm/actions/SplitWayAction.java
- Timestamp:
- 2017-08-25T03:01:22+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/SplitWayAction.java
r12636 r12641 215 215 if (wayToKeep != null) { 216 216 final SplitWayResult result = doSplitWay(getLayerManager().getEditLayer(), selectedWay, wayToKeep, newWays, sel); 217 Main .main.undoRedo.add(result.getCommand());217 MainApplication.undoRedo.add(result.getCommand()); 218 218 if (!result.getNewSelection().isEmpty()) { 219 219 getLayerManager().getEditDataSet().setSelected(result.getNewSelection()); … … 296 296 SplitWayResult result = doSplitWay(MainApplication.getLayerManager().getEditLayer(), 297 297 selectedWay, list.getSelectedValue(), newWays, selection); 298 Main .main.undoRedo.add(result.getCommand());298 MainApplication.undoRedo.add(result.getCommand()); 299 299 if (!result.getNewSelection().isEmpty()) { 300 300 MainApplication.getLayerManager().getEditDataSet().setSelected(result.getNewSelection());
Note:
See TracChangeset
for help on using the changeset viewer.