Changeset 14153 in josm for trunk/src/org/openstreetmap/josm/gui/io/UploadDialog.java
- Timestamp:
- 2018-08-13T02:18:54+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/io/UploadDialog.java
r14106 r14153 36 36 import javax.swing.JTabbedPane; 37 37 38 import org.openstreetmap.josm.Main;39 38 import org.openstreetmap.josm.data.APIDataSet; 40 39 import org.openstreetmap.josm.data.Version; … … 44 43 import org.openstreetmap.josm.gui.ExtendedDialog; 45 44 import org.openstreetmap.josm.gui.HelpAwareOptionPane; 45 import org.openstreetmap.josm.gui.MainApplication; 46 46 import org.openstreetmap.josm.gui.help.ContextSensitiveHelpAction; 47 47 import org.openstreetmap.josm.gui.help.HelpUtil; … … 105 105 */ 106 106 public UploadDialog() { 107 super(GuiHelper.getFrameForComponent(Main .parent), ModalityType.DOCUMENT_MODAL);107 super(GuiHelper.getFrameForComponent(MainApplication.getMainFrame()), ModalityType.DOCUMENT_MODAL); 108 108 build(); 109 109 pack(); … … 384 384 getClass().getName() + ".geometry", 385 385 WindowGeometry.centerInWindow( 386 Main .parent,386 MainApplication.getMainFrame(), 387 387 new Dimension(400, 600) 388 388 ) … … 545 545 } 546 546 if (!emptyChangesetTags.isEmpty() && JOptionPane.OK_OPTION != JOptionPane.showConfirmDialog( 547 Main .parent,547 MainApplication.getMainFrame(), 548 548 trn( 549 549 "<html>The following changeset tag contains an empty key/value:<br>{0}<br>Continue?</html>",
Note:
See TracChangeset
for help on using the changeset viewer.
