Ticket #19319: 19319.patch
| File 19319.patch, 1.1 KB (added by , 5 years ago) |
|---|
-
src/org/openstreetmap/josm/gui/io/UploadDialog.java
29 29 import javax.swing.AbstractAction; 30 30 import javax.swing.BorderFactory; 31 31 import javax.swing.JButton; 32 import javax.swing.JFrame; 32 33 import javax.swing.JOptionPane; 33 34 import javax.swing.JPanel; 34 35 import javax.swing.JTabbedPane; 36 import javax.swing.SwingUtilities; 35 37 36 38 import org.openstreetmap.josm.data.APIDataSet; 37 39 import org.openstreetmap.josm.data.Version; … … 404 406 new Dimension(400, 600) 405 407 ) 406 408 ).applySafe(this); 409 410 JFrame frame = (JFrame) SwingUtilities.getAncestorOfClass(JFrame.class, this); 411 frame.revalidate(); 412 frame.repaint(); 413 407 414 startUserInput(); 408 415 } else if (isShowing()) { // Avoid IllegalComponentStateException like in #8775 409 416 new WindowGeometry(this).remember(getClass().getName() + ".geometry");
