- Timestamp:
- 2017-11-22T21:24:09+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/io/UploadDialog.java
r13130 r13144 112 112 super(GuiHelper.getFrameForComponent(Main.parent), ModalityType.DOCUMENT_MODAL); 113 113 build(); 114 pack(); 114 115 } 115 116 … … 207 208 addWindowListener(new WindowEventHandler()); 208 209 209 210 // make sure the configuration panels listen to each other 211 // changes 210 // make sure the configuration panels listen to each other changes 212 211 // 213 212 pnlChangesetManagement.addPropertyChangeListener(this); … … 604 603 * Listens to window closing events and processes them as cancel events. 605 604 * Listens to window open events and initializes user input 606 *607 605 */ 608 606 class WindowEventHandler extends WindowAdapter { 607 private boolean activatedOnce; 608 609 609 @Override 610 610 public void windowClosing(WindowEvent e) { … … 613 613 614 614 @Override 615 public void windowActivated(WindowEvent arg0) {616 if (tpConfigPanels.getSelectedIndex() == 0) { 615 public void windowActivated(WindowEvent e) { 616 if (!activatedOnce && tpConfigPanels.getSelectedIndex() == 0) { 617 617 pnlBasicUploadSettings.initEditingOfUploadComment(); 618 activatedOnce = true; 618 619 } 619 620 }
Note:
See TracChangeset
for help on using the changeset viewer.