diff --git a/timeseriesviewer/mapcanvas.py b/timeseriesviewer/mapcanvas.py index 141ee5ae170182b0adfe5355b559c0a432bcf7cc..805117dbf8989c9b9d49de870fb126ff5afe44c1 100644 --- a/timeseriesviewer/mapcanvas.py +++ b/timeseriesviewer/mapcanvas.py @@ -112,7 +112,7 @@ class TsvMapCanvas(QgsMapCanvas): def setLayers(self, mapLayers): reg = QgsMapLayerRegistry.instance() for l in mapLayers: - reg.addMapLayer(l) + reg.addMapLayer(l, False) super(TsvMapCanvas,self).setLayerSet([QgsMapCanvasLayer(l) for l in mapLayers]) def refresh(self):