diff --git a/python/plugins/processing/gui/wrappers.py b/python/plugins/processing/gui/wrappers.py index 30b09c7cc5a..4a31bcfffe1 100644 --- a/python/plugins/processing/gui/wrappers.py +++ b/python/plugins/processing/gui/wrappers.py @@ -1093,7 +1093,7 @@ class TableFieldWidgetWrapper(WidgetWrapper): 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