Ignore:
Timestamp:
2017-11-05T20:04:04+01:00 (9 years ago)
Author:
donvip
Message:

update to JOSM 12643

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/NanoLog/src/nanolog/GPXChooser.java

    r32638 r33788  
    33import javax.swing.JDialog;
    44
    5 import org.openstreetmap.josm.Main;
     5import org.openstreetmap.josm.gui.MainApplication;
    66import org.openstreetmap.josm.gui.layer.GpxLayer;
    77import org.openstreetmap.josm.gui.layer.Layer;
     
    2020    public static GpxLayer topLayer() {
    2121        // return first found local layer
    22         for (Layer layer : Main.getLayerManager().getLayers()) {
     22        for (Layer layer : MainApplication.getLayerManager().getLayers()) {
    2323            if (layer instanceof GpxLayer && ((GpxLayer) layer).isLocalFile())
    2424                return (GpxLayer) layer;
Note: See TracChangeset for help on using the changeset viewer.