fix error because constant is not iterable

This commit is contained in:
Luigi Pirelli 2018-09-07 10:15:59 +02:00 committed by Nyall Dawson
parent 95a4c00584
commit e611756f09

View File

@ -235,7 +235,7 @@ class ExpressionWidgetWrapper(WidgetWrapper):
self.widget.setValue(value)
def value(self):
if self.dialogType in DIALOG_STANDARD:
if self.dialogType == DIALOG_STANDARD:
return self.widget.value()
elif self.dialogType == DIALOG_BATCH:
return self.widget.text()