Ignore:
Timestamp:
2016-06-20T02:47:43+02:00 (8 years ago)
Author:
Don-vip
Message:

see #13001 - replace calls to Main.main.[add|remove]Layer by Main.getLayerManager().[add|remove]Layer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/OsmImporter.java

    r10371 r10436  
    9696            public void run() {
    9797                OsmDataLayer layer = data.getLayer();
    98                 Main.main.addLayer(layer);
     98                Main.getLayerManager().addLayer(layer);
    9999                data.getPostLayerTask().run();
    100100                data.getLayer().onPostLoadFromFile();
Note: See TracChangeset for help on using the changeset viewer.