Skip to content

Commit

Permalink
[processing] Set value of unused optional layer parameters to None in…
Browse files Browse the repository at this point in the history
…stead of empty string
  • Loading branch information
volaya committed Dec 13, 2017
1 parent 1648c79 commit ea49c82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/gui/wrappers.py
Expand Up @@ -795,7 +795,7 @@ def value(self):
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:
Expand Down

0 comments on commit ea49c82

Please sign in to comment.