Skip to content

Commit ea49c82

Browse files
committed
[processing] Set value of unused optional layer parameters to None instead of empty string
1 parent 1648c79 commit ea49c82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/plugins/processing/gui/wrappers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@ def value(self):
795795
if layer is not None:
796796
return layer
797797
else:
798-
return self.combo.currentText()
798+
return self.combo.currentText() or None
799799
except:
800800
return self.combo.currentText()
801801
elif self.dialogType == DIALOG_BATCH:

0 commit comments

Comments
 (0)