Changeset 12841 in josm for trunk/src/org/openstreetmap/josm/actions/OpenLocationAction.java
- Timestamp:
- 2017-09-13T16:30:27+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/OpenLocationAction.java
r12675 r12841 104 104 */ 105 105 protected void restoreUploadAddressHistory(HistoryComboBox cbHistory) { 106 List<String> cmtHistory = new LinkedList<>(Main.pref.get Collection(getClass().getName() + ".uploadAddressHistory",106 List<String> cmtHistory = new LinkedList<>(Main.pref.getList(getClass().getName() + ".uploadAddressHistory", 107 107 new LinkedList<String>())); 108 108 // we have to reverse the history, because ComboBoxHistory will reverse it again in addElement() … … 118 118 protected void remindUploadAddressHistory(HistoryComboBox cbHistory) { 119 119 cbHistory.addCurrentItemToHistory(); 120 Main.pref.put Collection(getClass().getName() + ".uploadAddressHistory", cbHistory.getHistory());120 Main.pref.putList(getClass().getName() + ".uploadAddressHistory", cbHistory.getHistory()); 121 121 } 122 122
Note:
See TracChangeset
for help on using the changeset viewer.