Ignore:
Timestamp:
2010-02-07T23:49:38+01:00 (16 years ago)
Author:
pieren
Message:

from Clément Ménier, new WMLayer always on bottom

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/MenuActionLoadFromCache.java

    r18720 r19928  
    7575                    // create layer and load cache
    7676                    WMSLayer wmsLayer = new WMSLayer("", "", Integer.parseInt(ext)-1);
    77                     if (wmsLayer.getCacheControl().loadCache(file, layoutZone))
    78                         Main.main.addLayer(wmsLayer);
    79                    
     77                    if (wmsLayer.getCacheControl().loadCache(file, layoutZone)) {
     78                        CadastrePlugin.addWMSLayer(wmsLayer);
     79                    }                   
    8080                }
    8181            }
Note: See TracChangeset for help on using the changeset viewer.