Changeset 12846 in josm for trunk/src/org/openstreetmap/josm/gui/preferences/projection/ProjectionPreference.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/preferences/projection/ProjectionPreference.java
r12841 r12846 41 41 import org.openstreetmap.josm.gui.widgets.JosmComboBox; 42 42 import org.openstreetmap.josm.gui.widgets.VerticallyScrollablePanel; 43 import org.openstreetmap.josm.spi.preferences.Config; 43 44 import org.openstreetmap.josm.tools.GBC; 44 45 import org.openstreetmap.josm.tools.JosmRuntimeException; … … 482 483 } 483 484 id = pc.getId(); 484 Main.pref.putList("projection.sub."+id, pref == null ? null : new ArrayList<>(pref));485 Config.getPref().putList("projection.sub."+id, pref == null ? null : new ArrayList<>(pref)); 485 486 if (makeDefault) { 486 487 PROP_PROJECTION_DEFAULT.put(id); … … 560 561 */ 561 562 public static Collection<String> getSubprojectionPreference(String pcId) { 562 return Main.pref.getList("projection.sub."+pcId, null);563 return Config.getPref().getList("projection.sub."+pcId, null); 563 564 } 564 565
Note:
See TracChangeset
for help on using the changeset viewer.