Skip to content

Commit

Permalink
[processing] Fix error with field widget wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Nov 17, 2016
1 parent e624518 commit fb8b931
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/gui/wrappers.py
Expand Up @@ -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
Expand Down

0 comments on commit fb8b931

Please sign in to comment.