Ignore:
Timestamp:
2018-08-15T02:05:27+02:00 (8 years ago)
Author:
donvip
Message:

update to JOSM 14153

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/imagery_offset_db/src/iodb/DeprecateOffsetAction.java

    r33774 r34466  
    1111import javax.swing.JOptionPane;
    1212
    13 import org.openstreetmap.josm.Main;
    1413import org.openstreetmap.josm.data.UserIdentityManager;
    1514import org.openstreetmap.josm.gui.MainApplication;
     
    5150                tr("Are you sure this imagery offset is wrong?") :
    5251                    tr("Are you sure this calibration geometry is aligned badly?");
    53                 if (JOptionPane.showConfirmDialog(Main.parent,
     52                if (JOptionPane.showConfirmDialog(MainApplication.getMainFrame(),
    5453                        tr("Warning: deprecation is basically irreversible!")+ "\n" + desc,
    5554                        ImageryOffsetTools.DIALOG_TITLE, JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE) != JOptionPane.YES_OPTION) {
     
    8180        String userName = UserIdentityManager.getInstance().getUserName();
    8281        if (userName == null) {
    83             JOptionPane.showMessageDialog(Main.parent, tr("To store imagery offsets you must be a registered OSM user."),
     82            JOptionPane.showMessageDialog(MainApplication.getMainFrame(), tr("To store imagery offsets you must be a registered OSM user."),
    8483                    ImageryOffsetTools.DIALOG_TITLE, JOptionPane.ERROR_MESSAGE);
    8584            return;
Note: See TracChangeset for help on using the changeset viewer.