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/layer/geoimage/GeoImageLayer.java

    r13843 r14153  
    3939import javax.swing.SwingConstants;
    4040
    41 import org.openstreetmap.josm.Main;
    4241import org.openstreetmap.josm.actions.LassoModeAction;
    4342import org.openstreetmap.josm.actions.RenameLayerAction;
     
    285284            if (!errorMessages.isEmpty()) {
    286285                JOptionPane.showMessageDialog(
    287                         Main.parent,
     286                        MainApplication.getMainFrame(),
    288287                        formatErrorMessages(),
    289288                        tr("Error"),
     
    716715
    717716            int result = new ExtendedDialog(
    718                     Main.parent,
     717                    MainApplication.getMainFrame(),
    719718                    tr("Delete image file from disk"),
    720719                    tr("Cancel"), tr("Delete"))
     
    738737                } else {
    739738                    JOptionPane.showMessageDialog(
    740                             Main.parent,
     739                            MainApplication.getMainFrame(),
    741740                            tr("Image file could not be deleted."),
    742741                            tr("Error"),
Note: See TracChangeset for help on using the changeset viewer.