Changeset 33581 in osm for applications/editors/josm/plugins/dataimport/src/org
- Timestamp:
- 2017-08-28T11:56:11+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/dataimport/src/org/openstreetmap/josm/plugins/dataimport/io/Tcx.java
r33557 r33581 22 22 import org.openstreetmap.josm.data.gpx.ImmutableGpxTrack; 23 23 import org.openstreetmap.josm.data.gpx.WayPoint; 24 import org.openstreetmap.josm.gui.MainApplication; 24 25 import org.openstreetmap.josm.gui.io.importexport.FileImporter; 25 26 import org.openstreetmap.josm.gui.layer.GpxLayer; … … 74 75 gpxData.storageFile = tcxFile; 75 76 GpxLayer gpxLayer = new GpxLayer(gpxData, tcxFile.getName()); 76 Main .getLayerManager().addLayer(gpxLayer);77 MainApplication.getLayerManager().addLayer(gpxLayer); 77 78 if (Main.pref.getBoolean("marker.makeautomarkers", true)) { 78 79 MarkerLayer ml = new MarkerLayer(gpxData, tr("Markers from {0}", tcxFile.getName()), tcxFile, gpxLayer); 79 80 if (ml.data.size() > 0) { 80 Main .getLayerManager().addLayer(ml);81 MainApplication.getLayerManager().addLayer(ml); 81 82 } 82 83 }
Note:
See TracChangeset
for help on using the changeset viewer.