mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
[processing] Set value of unused optional layer parameters to None instead of empty string
This commit is contained in:
parent
1648c79dc2
commit
ea49c8276c
@ -795,7 +795,7 @@ class MapLayerWidgetWrapper(WidgetWrapper):
|
||||
if layer is not None:
|
||||
return layer
|
||||
else:
|
||||
return self.combo.currentText()
|
||||
return self.combo.currentText() or None
|
||||
except:
|
||||
return self.combo.currentText()
|
||||
elif self.dialogType == DIALOG_BATCH:
|
||||
|
Loading…
x
Reference in New Issue
Block a user