Skip to content
Permalink
Browse files

[processing] Fix error with field widget wrapper

  • Loading branch information
nyalldawson committed Nov 17, 2016
1 parent e624518 commit fb8b931a8e31c449a5484ce169c4fc0b1b169ff3
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/gui/wrappers.py
@@ -1093,7 +1093,7 @@ def value(self):
if self.param.multiple:
return [self.widget.options[i] for i in self.widget.selectedoptions]
else:
f = self.widget.field()
f = self.widget.currentField()
if self.param.optional and not f:
return None
return f

0 comments on commit fb8b931

Please sign in to comment.
You can’t perform that action at this time.