Changeset 6408 in josm for trunk


Ignore:
Timestamp:
2013-11-23T20:34:59+01:00 (10 years ago)
Author:
simon04
Message:

fix #9349 - see #6381 - fix intermixing of changeset source and comment

File:
1 edited

Legend:

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

    r6401 r6408  
    3737    public static final String HISTORY_KEY = "upload.comment.history";
    3838    public static final String HISTORY_LAST_USED_KEY = "upload.comment.last-used";
    39     public static final String SOURCE_HISTORY_KEY = "upload.comment.source";
     39    public static final String SOURCE_HISTORY_KEY = "upload.source.history";
    4040
    4141    /** the history combo box for the upload comment */
     
    6767        List<String> sourceHistory = new LinkedList<String>(Main.pref.getCollection(SOURCE_HISTORY_KEY, new LinkedList<String>()));
    6868        Collections.reverse(sourceHistory); // we have to reverse the history, because ComboBoxHistory will reverse it again in addElement()
    69         hcbUploadComment.setPossibleItems(sourceHistory);
     69        hcbUploadSource.setPossibleItems(sourceHistory);
    7070        final CommentModelListener sourceModelListener = new CommentModelListener(hcbUploadSource, changesetSourceModel);
    7171        hcbUploadSource.getEditor().addActionListener(sourceModelListener);
Note: See TracChangeset for help on using the changeset viewer.