Changeset 4216 in josm
- Timestamp:
- 2011-07-09T00:38:49+02:00 (13 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/imagery/ImageryLayerInfo.java
r4203 r4216 37 37 } 38 38 39 public void clear() { 40 layers.clear(); 41 } 42 39 43 public void load() { 40 layers.clear();41 44 for(Collection<String> c : Main.pref.getArray("imagery.layers", 42 45 Collections.<Collection<String>>emptySet())) { -
trunk/src/org/openstreetmap/josm/gui/preferences/ImageryPreference.java
r4198 r4216 292 292 boolean restartRequired = false; 293 293 layerInfo.save(); 294 ImageryLayerInfo.instance.clear(); 294 295 ImageryLayerInfo.instance.load(); 295 296 Main.main.menu.imageryMenu.refreshImageryMenu(); … … 836 837 837 838 public static void initialize() { 839 ImageryLayerInfo.instance.clear(); 838 840 ImageryLayerInfo.instance.loadDefaults(false); 839 841 ImageryLayerInfo.instance.load();
Note:
See TracChangeset
for help on using the changeset viewer.