Changeset 32329 in osm for applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CadastreInterface.java
- Timestamp:
- 2016-06-19T16:08:56+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CadastreInterface.java
r32212 r32329 576 576 private static void checkLayerDuplicates(WMSLayer wmsLayer) throws DuplicateLayerException { 577 577 if (Main.map != null) { 578 for (Layer l : Main. map.mapView.getAllLayers()) {578 for (Layer l : Main.getLayerManager().getLayers()) { 579 579 if (l instanceof WMSLayer && l.getName().equals(wmsLayer.getName()) && (!l.equals(wmsLayer))) { 580 580 Main.info("Try to grab into a new layer when "+wmsLayer.getName()+" is already opened.");
Note:
See TracChangeset
for help on using the changeset viewer.
