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/actions/FollowLineAction.java

    r12636 r12641  
    1111import java.util.Set;
    1212
    13 import org.openstreetmap.josm.Main;
    1413import org.openstreetmap.josm.actions.mapmode.DrawAction;
    1514import org.openstreetmap.josm.command.ChangeCommand;
     
    115114                newFollower.addNode(newPoint);
    116115            }
    117             Main.main.undoRedo.add(new SequenceCommand(tr("Follow line"),
     116            MainApplication.undoRedo.add(new SequenceCommand(tr("Follow line"),
    118117                    new ChangeCommand(follower, newFollower),
    119118                    new SelectCommand(newFollower.isClosed() // see #10028 - unselect last node when closing a way
Note: See TracChangeset for help on using the changeset viewer.