Ignore:
Timestamp:
2018-08-13T02:18:54+02:00 (8 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/UploadSelectionAction.java

    r13568 r14153  
    1616import javax.swing.SwingUtilities;
    1717
    18 import org.openstreetmap.josm.Main;
    1918import org.openstreetmap.josm.data.APIDataSet;
    2019import org.openstreetmap.josm.data.osm.DataSet;
     
    102101        if (modifiedCandidates.isEmpty() && deletedCandidates.isEmpty()) {
    103102            JOptionPane.showMessageDialog(
    104                     Main.parent,
     103                    MainApplication.getMainFrame(),
    105104                    tr("No changes to upload."),
    106105                    tr("Warning"),
     
    120119        if (toUpload.isEmpty()) {
    121120            JOptionPane.showMessageDialog(
    122                     Main.parent,
     121                    MainApplication.getMainFrame(),
    123122                    tr("No changes to upload."),
    124123                    tr("Warning"),
Note: See TracChangeset for help on using the changeset viewer.