Ignore:
Timestamp:
2018-08-13T02:18:54+02:00 (6 years ago)
Author:
Don-vip
Message:

see #15229 - deprecate Main.parent and Main itself

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/SplitWayAction.java

    r14134 r14153  
    2424import javax.swing.ListSelectionModel;
    2525
    26 import org.openstreetmap.josm.Main;
    2726import org.openstreetmap.josm.command.SplitWayCommand;
    2827import org.openstreetmap.josm.data.UndoRedoHandler;
     
    165164
    166165        SegmentToKeepSelectionDialog(Way selectedWay, List<Way> newWays, Way wayToKeep, List<OsmPrimitive> selection) {
    167             super(Main.parent, tr("Which way segment should reuse the history of {0}?", selectedWay.getId()),
     166            super(MainApplication.getMainFrame(), tr("Which way segment should reuse the history of {0}?", selectedWay.getId()),
    168167                    new String[]{tr("Ok"), tr("Cancel")}, true);
    169168
Note: See TracChangeset for help on using the changeset viewer.