Changeset 3978 in josm
- Timestamp:
- 2011-03-11T22:52:07+01:00 (14 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/imagery/ImageryLayerInfo.java
r3961 r3978 29 29 }; 30 30 31 public void load( ) {31 public void load(boolean clearCache) { 32 32 layers.clear(); 33 33 defaultLayers.clear(); … … 44 44 try 45 45 { 46 if (clearCache) { 47 MirroredInputStream.cleanup(source); 48 } 46 49 MirroredInputStream s = new MirroredInputStream(source, -1); 47 50 InputStreamReader r; -
trunk/src/org/openstreetmap/josm/gui/preferences/ImageryPreference.java
r3847 r3978 567 567 568 568 public void actionPerformed(ActionEvent evt) { 569 layerInfo.load( );569 layerInfo.load(true); 570 570 modeldef.fireTableDataChanged(); 571 571 } … … 857 857 settingsMigration = null; 858 858 } 859 ImageryLayerInfo.instance.load( );859 ImageryLayerInfo.instance.load(false); 860 860 OffsetBookmark.loadBookmarks(); 861 861 Main.main.menu.imageryMenu.refreshImageryMenu();
Note:
See TracChangeset
for help on using the changeset viewer.