Ignore:
Timestamp:
2017-08-25T03:01:22+02:00 (7 years ago)
Author:
Don-vip
Message:

see #15182 - deprecate Main.main.undoRedo. Replacement: gui.MainApplication.undoRedo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/AddWayHandler.java

    r12636 r12641  
    167167        allCoordinates.clear();
    168168        commands.add(new AddCommand(way));
    169         Main.main.undoRedo.add(new SequenceCommand(tr("Add way"), commands));
     169        MainApplication.undoRedo.add(new SequenceCommand(tr("Add way"), commands));
    170170        MainApplication.getLayerManager().getEditDataSet().setSelected(way);
    171171        if (PermissionPrefWithDefault.CHANGE_VIEWPORT.isAllowed()) {
Note: See TracChangeset for help on using the changeset viewer.