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

update to JOSM 14153

File:
1 edited

Legend:

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

    r33694 r34551  
    99
    1010import org.openstreetmap.josm.command.AddCommand;
     11import org.openstreetmap.josm.data.UndoRedoHandler;
    1112import org.openstreetmap.josm.data.osm.DataSet;
    1213import org.openstreetmap.josm.data.osm.Relation;
     
    3536            Relation r = rel.get();
    3637            Relation copy = new Relation(r, true);
    37             MainApplication.undoRedo.add(new AddCommand(ds, copy));
     38            UndoRedoHandler.getInstance().add(new AddCommand(ds, copy));
    3839            rel.set(copy);
    3940            ds.setSelected(copy);
Note: See TracChangeset for help on using the changeset viewer.