Changeset 17898 in josm for trunk/src/org


Ignore:
Timestamp:
2021-05-17T19:56:19+02:00 (3 years ago)
Author:
simon04
Message:

fix #20887, see #20690 - Upload dialog: fix IllegalStateException: Attempt to mutate in notification

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/io/BasicUploadSettingsPanel.java

    r17894 r17898  
    2424import javax.swing.JPanel;
    2525import javax.swing.JTextField;
     26import javax.swing.SwingUtilities;
    2627import javax.swing.event.AncestorEvent;
    2728import javax.swing.event.AncestorListener;
     
    365366
    366367        private void setComment() {
    367             destination.setComment(source.getText());
     368            SwingUtilities.invokeLater(() -> destination.setComment(source.getText()));
    368369        }
    369370
Note: See TracChangeset for help on using the changeset viewer.