Changeset 12846 in josm for trunk/src/org/openstreetmap/josm/gui/download/OverpassQueryList.java
- Timestamp:
- 2017-09-13T23:24:50+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/download/OverpassQueryList.java
r12841 r12846 49 49 import org.openstreetmap.josm.gui.widgets.JosmTextArea; 50 50 import org.openstreetmap.josm.gui.widgets.SearchTextResultListPanel; 51 import org.openstreetmap.josm.spi.preferences.Config; 51 52 import org.openstreetmap.josm.tools.GBC; 52 53 import org.openstreetmap.josm.tools.Logging; … … 254 255 } 255 256 256 Main.pref.putListOfMaps(PREFERENCE_ITEMS, toSave);257 Config.getPref().putListOfMaps(PREFERENCE_ITEMS, toSave); 257 258 } 258 259 … … 263 264 private static Map<String, SelectorItem> restorePreferences() { 264 265 Collection<Map<String, String>> toRetrieve = 265 Main.pref.getListOfMaps(PREFERENCE_ITEMS, Collections.emptyList());266 Config.getPref().getListOfMaps(PREFERENCE_ITEMS, Collections.emptyList()); 266 267 Map<String, SelectorItem> result = new HashMap<>(); 267 268
Note:
See TracChangeset
for help on using the changeset viewer.