We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent a483ef8 commit 4e182beCopy full SHA for 4e182be
python/plugins/processing/gui/wrappers.py
@@ -1029,7 +1029,7 @@ def createWidget(self):
1029
return widget
1030
1031
def layerChanged(self, layer):
1032
- if layer is not None or layer.type() != QgsMapLayer.VectorLayer or layer.selectedFeatureCount() == 0:
+ if layer is None or layer.type() != QgsMapLayer.VectorLayer or layer.selectedFeatureCount() == 0:
1033
self.use_selection_checkbox.setChecked(False)
1034
self.use_selection_checkbox.setEnabled(False)
1035
else:
0 commit comments