Ignore:
Timestamp:
2019-04-09T01:32:56+02:00 (5 years ago)
Author:
Don-vip
Message:

ensures consistency of upload comment:

  • fix #11168 - ctrl-z/undo could reset unwanted old changeset comment
  • fix #13474 - selecting "new changeset" after having entered a changeset comment did reset it to the previous value
  • fix #17452 - ctrl-enter while typing a changeset comment did upload with the previous value
  • fix behaviour of upload.comment.max-age: values were reset after 5 months instead of intended 4 hours because seconds were compared to milliseconds
  • avoid creation of unneeded undo/redo internal classes for non-editable text fields
  • ensures consistency of upload dialog if upload.comment properties are modified manually from advanced preferences
  • add a source attribute to preference events to know which class modified the preference entry
  • refactor reflection utils
File:
1 edited

Legend:

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

    r13130 r14977  
    3333
    3434/**
    35  * ChangesetManagementPanel allows to configure changeset to be used in the next
    36  * upload.
     35 * ChangesetManagementPanel allows to configure changeset to be used in the next upload.
    3736 *
    3837 * It is displayed as one of the configuration panels in the {@link UploadDialog}.
    3938 *
    40  * ChangesetManagementPanel is a source for {@link java.beans.PropertyChangeEvent}s. Clients can listen
    41  * to
     39 * ChangesetManagementPanel is a source for {@link java.beans.PropertyChangeEvent}s. Clients can listen to
    4240 * <ul>
    4341 *   <li>{@link #SELECTED_CHANGESET_PROP}  - the new value in the property change event is
    4442 *   the changeset selected by the user. The value is null if the user didn't select a
    45  *   a changeset or if he chosed to use a new changeset.</li>
     43 *   a changeset or if he chose to use a new changeset.</li>
    4644 *   <li> {@link #CLOSE_CHANGESET_AFTER_UPLOAD} - the new value is a boolean value indicating
    4745 *   whether the changeset should be closed after the next upload</li>
Note: See TracChangeset for help on using the changeset viewer.