Re: [QGIS-Developer] pyqtSlot decoration problems with layerChanged in Python 3.10

2022-01-05 Thread Xavier C. Llano
the example code format was submitted incorrectly, here again: self.myLayerComboBox.layerChanged.connect(self.myConnectMethod) @pyqtSlot(QgsMapLayer) def myConnectMethod(self, layer)     pass Any idea? thanks. ___ QGIS-Developer mailing list QGIS-Dev

[QGIS-Developer] pyqtSlot decoration problems with layerChanged in Python 3.10

2022-01-04 Thread Xavier C. Llano
Hi everyone! I've developed some Qgis plugins, everything was fine until I updated Python to 3.10 version, some of these plugins have problems with the /pyqtSlot/ with the function /layerChanged/, an example code: self.myLayerComboBox.layerChanged.connect(self.myConnectMethod) @pyqtSlot