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/dialogs/MapPaintDialog.java

    r13647 r14153  
    5252import javax.swing.table.TableCellRenderer;
    5353
    54 import org.openstreetmap.josm.Main;
    5554import org.openstreetmap.josm.actions.ExtensionFileFilter;
    5655import org.openstreetmap.josm.actions.JosmAction;
     
    539538                return;
    540539            final StyleSource s = model.getRow(sel);
    541             ExtendedDialog info = new ExtendedDialog(Main.parent, tr("Map Style info"), tr("Close"));
     540            ExtendedDialog info = new ExtendedDialog(MainApplication.getMainFrame(), tr("Map Style info"), tr("Close"));
    542541            info.setPreferredSize(new Dimension(600, 400));
    543542            info.setButtonIcons("ok");
Note: See TracChangeset for help on using the changeset viewer.