Changeset 18479 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2022-06-08T23:03:12+02:00 (2 years ago)
Author:
taylor.smock
Message:

Fix #21600: When setting/updating notes, fire selectionChanged events (patch by gaben)

Location:
trunk/src/org/openstreetmap/josm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/notes/Note.java

    r17855 r18479  
    3030    /**
    3131     * Sorts notes in the following order:
    32      * 1) Open notes
    33      * 2) Closed notes
    34      * 3) New notes
     32     * <ol>
     33     *     <li>Open notes</li>
     34     *     <li>Closed notes</li>
     35     *     <li>New notes</li>
     36     * </ol>
    3537     * Within each subgroup it sorts by ID
    3638     */
  • trunk/src/org/openstreetmap/josm/gui/dialogs/NotesDialog.java

    r18454 r18479  
    206206        model.setData(noteList);
    207207        updateButtonStates();
     208        selectionChanged();
    208209        this.repaint();
    209210    }
Note: See TracChangeset for help on using the changeset viewer.