[processing] Fix TableWidgetWrapper in batch dialog

This commit is contained in:
arnaud.morvan@camptocamp.com 2016-11-06 13:05:32 +01:00
parent 2d2fe8b8cc
commit 4a62699472

View File

@ -741,7 +741,7 @@ class TableWidgetWrapper(WidgetWrapper):
except:
return self.widget.getValue()
elif self.dialogType == DIALOG_BATCH:
return self.widget.getText()
return self.widget.value()
else:
def validator(v):
return bool(v) or self.param.optional