Changeset 12636 in josm for trunk/src/org/openstreetmap/josm/io/OsmApi.java
- Timestamp:
- 2017-08-24T22:53:50+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/OsmApi.java
r12630 r12636 243 243 * been disabled! */ 244 244 if (MainApplication.isDisplayingMapView()) { 245 for (Layer l : Main .getLayerManager().getLayersOfType(ImageryLayer.class)) {245 for (Layer l : MainApplication.getLayerManager().getLayersOfType(ImageryLayer.class)) { 246 246 if (((ImageryLayer) l).getInfo().isBlacklisted()) { 247 247 Logging.info(tr("Removed layer {0} because it is not allowed by the configured API.", l.getName())); 248 Main .getLayerManager().removeLayer(l);248 MainApplication.getLayerManager().removeLayer(l); 249 249 } 250 250 }
Note:
See TracChangeset
for help on using the changeset viewer.