Changeset 32398 in osm for applications/editors/josm/plugins/reltoolbox/src/relcontext/actions/DeleteChosenRelationAction.java
- Timestamp:
- 2016-06-25T11:56:57+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/reltoolbox/src/relcontext/actions/DeleteChosenRelationAction.java
r32395 r32398 33 33 Relation r = rel.get(); 34 34 rel.clear(); 35 Command c = DeleteCommand.delete(Main. main.getEditLayer(), Collections.singleton(r), true, true);36 if (c != null 35 Command c = DeleteCommand.delete(Main.getLayerManager().getEditLayer(), Collections.singleton(r), true, true); 36 if (c != null) { 37 37 Main.main.undoRedo.add(c); 38 38 }
Note:
See TracChangeset
for help on using the changeset viewer.