Ignore:
Timestamp:
2021-07-11T04:02:42+02:00 (4 years ago)
Author:
Don-vip
Message:

fix #20969 - fix trimming/synchronization issue in changeset upload comment input field (patch by Bjoeni)

File:
1 edited

Legend:

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

    r17898 r17995  
    411411            if (!(e.getSource() instanceof ChangesetCommentModel)) return;
    412412            String newComment = ((ChangesetCommentModel) e.getSource()).getComment();
    413             if (!destination.getText().equals(newComment)) {
     413            if (!destination.getText().trim().equals(newComment)) {
    414414                destination.setText(newComment);
    415415            }
Note: See TracChangeset for help on using the changeset viewer.