Skip to content
Permalink
Browse files

fix error because constant is not iterable

  • Loading branch information
luipir authored and nyalldawson committed Sep 7, 2018
1 parent 95a4c00 commit e611756f098f6f76d99b815403820e8036c35e8c
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/algs/qgis/ui/RasterCalculatorWidgets.py
@@ -235,7 +235,7 @@ def setValue(self, value):
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()

0 comments on commit e611756

Please sign in to comment.
You can’t perform that action at this time.