Changeset 33788 in osm for applications/editors/josm/plugins/NanoLog/src/nanolog/GPXChooser.java
- Timestamp:
- 2017-11-05T20:04:04+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/NanoLog/src/nanolog/GPXChooser.java
r32638 r33788 3 3 import javax.swing.JDialog; 4 4 5 import org.openstreetmap.josm. Main;5 import org.openstreetmap.josm.gui.MainApplication; 6 6 import org.openstreetmap.josm.gui.layer.GpxLayer; 7 7 import org.openstreetmap.josm.gui.layer.Layer; … … 20 20 public static GpxLayer topLayer() { 21 21 // return first found local layer 22 for (Layer layer : Main.getLayerManager().getLayers()) { 22 for (Layer layer : MainApplication.getLayerManager().getLayers()) { 23 23 if (layer instanceof GpxLayer && ((GpxLayer) layer).isLocalFile()) 24 24 return (GpxLayer) layer;
Note:
See TracChangeset
for help on using the changeset viewer.
