Ignore:
Timestamp:
2017-08-24T22:53:50+02:00 (7 years ago)
Author:
Don-vip
Message:

see #15182 - deprecate Main.getLayerManager(). Replacement: gui.MainApplication.getLayerManager()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/geoimage/CorrelateGpxWithImages.java

    r12630 r12636  
    182182                // If none, we'll zoom to the bounding box of the layer with the photos.
    183183                boolean boundingBoxedLayerFound = false;
    184                 for (Layer l: Main.getLayerManager().getLayers()) {
     184                for (Layer l: MainApplication.getLayerManager().getLayers()) {
    185185                    if (l != yLayer) {
    186186                        BoundingXYVisitor bbox = new BoundingXYVisitor();
     
    544544    public void actionPerformed(ActionEvent ae) {
    545545        // Construct the list of loaded GPX tracks
    546         Collection<Layer> layerLst = Main.getLayerManager().getLayers();
     546        Collection<Layer> layerLst = MainApplication.getLayerManager().getLayers();
    547547        GpxDataWrapper defaultItem = null;
    548548        for (Layer cur : layerLst) {
Note: See TracChangeset for help on using the changeset viewer.