[Qgis-developer] PyQGIS: Problems with the layerWasAdded SIGNAL

Martin Dobias wonder.sk at gmail.com
Tue Jun 16 11:04:38 EDT 2009


2009/6/16 Germán Carrillo <carrillo.german at gmail.com>:
> Thanks Martin, but I remove the layer from the layerSet before removing from
> QgsMapLayerRegistry. So, when I update the layer set in canvas, the layer
> doesn't exists.

>From your code I see you only remove the layer from the self.layers
dictionary. But canvas (resp. map renderer class) still thinks that
the layer exists.

Martin


More information about the Qgis-developer mailing list