Hi again,

I forgot to mention that QGIS only segfaults when using the node tool
of mDigitizeToolBar.

It does not crash when I use the move feature tool.


2012/10/13 Rafael Varela Pet <[email protected]>:

> I'm developing a python plugin in QGIS 1.9.0-master that makes QGIS
> segfault when I call Qgsvectorlayer.select() inside a geometryChanged
> signal handler
>
> My code looks like this:
>
> ...
>
> layer_A.geometryChanged.connect(self.onLineGeometryChange)
>
> ...
>
> @pyqtSlot(int, QgsGeometry)
> def onLineGeometryChange(self, featureId, geom ):
>   ...
>   layer_B.select( someRectangle, False )
>   ---
>
>
> Is it illegal to call "select()" inside "onLineGeometryChange()"?
>
> By the way, I'm not really interested in selecting features. I only
> wanted to find the existing features inside a map area, but I didn't
> find any other way but using "select()"


Regards,
-- 
Rafa
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to