Ignore:
Timestamp:
2018-08-18T20:08:26+02:00 (6 years ago)
Author:
donvip
Message:

update to JOSM 14153

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/reltoolbox/src/relcontext/actions/DeleteChosenRelationAction.java

    r33694 r34551  
    1111import org.openstreetmap.josm.command.Command;
    1212import org.openstreetmap.josm.command.DeleteCommand;
     13import org.openstreetmap.josm.data.UndoRedoHandler;
    1314import org.openstreetmap.josm.data.osm.Relation;
    14 import org.openstreetmap.josm.gui.MainApplication;
    1515import org.openstreetmap.josm.tools.ImageProvider;
    1616
     
    3535        Command c = DeleteCommand.delete(Collections.singleton(r), true, true);
    3636        if (c != null) {
    37             MainApplication.undoRedo.add(c);
     37            UndoRedoHandler.getInstance().add(c);
    3838        }
    3939    }
Note: See TracChangeset for help on using the changeset viewer.