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/gui/download/DownloadObjectDialog.java

    r14121 r14153  
    1111import javax.swing.JCheckBox;
    1212
    13 import org.openstreetmap.josm.Main;
    1413import org.openstreetmap.josm.data.osm.OsmPrimitiveType;
     14import org.openstreetmap.josm.gui.MainApplication;
    1515import org.openstreetmap.josm.gui.dialogs.OsmIdSelectionDialog;
    1616import org.openstreetmap.josm.io.NetworkManager;
     
    3131
    3232    /**
    33      * Constructs a new DownloadObjectDialog with Main.parent as parent component.
     33     * Constructs a new DownloadObjectDialog with MainApplication.getMainFrame() as parent component.
    3434     */
    3535    public DownloadObjectDialog() {
    36         this(Main.parent);
     36        this(MainApplication.getMainFrame());
    3737    }
    3838
Note: See TracChangeset for help on using the changeset viewer.