Changeset 32329 in osm for applications/editors/josm/plugins/ElevationProfile/src/org
- Timestamp:
- 2016-06-19T16:08:56+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/ElevationProfile/src/org/openstreetmap/josm/plugins/elevation/gui/ElevationProfileDialog.java
r32315 r32329 196 196 MapView.addLayerChangeListener(this); 197 197 if (Main.isDisplayingMapView()) { 198 Layer layer = Main. map.mapView.getActiveLayer();198 Layer layer = Main.getLayerManager().getActiveLayer(); 199 199 if (layer instanceof GpxLayer) { 200 200 setActiveLayer((GpxLayer) layer);
Note:
See TracChangeset
for help on using the changeset viewer.