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 c52e6a7 commit d8302a2Copy full SHA for d8302a2
python/plugins/processing/gui/wrappers.py
@@ -869,7 +869,10 @@ def value(self):
869
if layer:
870
return QgsProcessingFeatureSourceDefinition(layer.id(), use_selected_features)
871
else:
872
- return QgsProcessingFeatureSourceDefinition(self.combo.currentText(), use_selected_features)
+ if self.combo.currentText():
873
+ return QgsProcessingFeatureSourceDefinition(self.combo.currentText(), use_selected_features)
874
+ else:
875
+ return None
876
except:
877
return QgsProcessingFeatureSourceDefinition(self.combo.currentText(), use_selected_features)
878
elif self.dialogType == DIALOG_BATCH:
0 commit comments