- Timestamp:
- 2013-11-23T20:34:59+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/io/BasicUploadSettingsPanel.java
r6401 r6408 37 37 public static final String HISTORY_KEY = "upload.comment.history"; 38 38 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"; 40 40 41 41 /** the history combo box for the upload comment */ … … 67 67 List<String> sourceHistory = new LinkedList<String>(Main.pref.getCollection(SOURCE_HISTORY_KEY, new LinkedList<String>())); 68 68 Collections.reverse(sourceHistory); // we have to reverse the history, because ComboBoxHistory will reverse it again in addElement() 69 hcbUpload Comment.setPossibleItems(sourceHistory);69 hcbUploadSource.setPossibleItems(sourceHistory); 70 70 final CommentModelListener sourceModelListener = new CommentModelListener(hcbUploadSource, changesetSourceModel); 71 71 hcbUploadSource.getEditor().addActionListener(sourceModelListener);
Note:
See TracChangeset
for help on using the changeset viewer.