Changeset 34551 in osm for applications/editors/josm/plugins/reltoolbox/src/relcontext/actions/DeleteChosenRelationAction.java
- Timestamp:
- 2018-08-18T20:08:26+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/reltoolbox/src/relcontext/actions/DeleteChosenRelationAction.java
r33694 r34551 11 11 import org.openstreetmap.josm.command.Command; 12 12 import org.openstreetmap.josm.command.DeleteCommand; 13 import org.openstreetmap.josm.data.UndoRedoHandler; 13 14 import org.openstreetmap.josm.data.osm.Relation; 14 import org.openstreetmap.josm.gui.MainApplication;15 15 import org.openstreetmap.josm.tools.ImageProvider; 16 16 … … 35 35 Command c = DeleteCommand.delete(Collections.singleton(r), true, true); 36 36 if (c != null) { 37 MainApplication.undoRedo.add(c);37 UndoRedoHandler.getInstance().add(c); 38 38 } 39 39 }
Note:
See TracChangeset
for help on using the changeset viewer.