mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
fix error because constant is not iterable
This commit is contained in:
parent
95a4c00584
commit
e611756f09
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user