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/dialogs/changeset/ChangesetDetailPanel.java

    r14555 r14977  
    5757
    5858    // CHECKSTYLE.OFF: SingleSpaceSeparator
    59     private final JosmTextField tfID        = new JosmTextField(10);
     59    private final JosmTextField tfID        = new JosmTextField(null, null, 10, false);
    6060    private final JosmTextArea  taComment   = new JosmTextArea(5, 40);
    61     private final JosmTextField tfOpen      = new JosmTextField(10);
    62     private final JosmTextField tfUser      = new JosmTextField("");
    63     private final JosmTextField tfCreatedOn = new JosmTextField(20);
    64     private final JosmTextField tfClosedOn  = new JosmTextField(20);
     61    private final JosmTextField tfOpen      = new JosmTextField(null, null, 10, false);
     62    private final JosmTextField tfUser      = new JosmTextField(null, "", 0);
     63    private final JosmTextField tfCreatedOn = new JosmTextField(null, null, 20, false);
     64    private final JosmTextField tfClosedOn  = new JosmTextField(null, null, 20, false);
    6565
    6666    private final OpenChangesetPopupMenuAction   actOpenChangesetPopupMenu   = new OpenChangesetPopupMenuAction();
Note: See TracChangeset for help on using the changeset viewer.