- Timestamp:
- 2009-10-03T14:50:10+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/GpxImporter.java
r2062 r2235 53 53 Runnable task = new Runnable() { 54 54 public void run() { 55 Main.main.addLayer(gpxLayer); 56 if (Main.pref.getBoolean("marker.makeautomarkers", true)) { 55 if (!r.data.tracks.isEmpty() || ! r.data.routes.isEmpty()) { 56 Main.main.addLayer(gpxLayer); 57 } 58 if (Main.pref.getBoolean("marker.makeautomarkers", true) && !r.data.waypoints.isEmpty()) { 57 59 MarkerLayer ml = new MarkerLayer(r.data, tr("Markers from {0}", fn), file, gpxLayer); 58 60 if (ml.data.size() > 0) {
Note:
See TracChangeset
for help on using the changeset viewer.