Skip to content
Permalink
Browse files

[processing] Fix errors when filling parameters in batch panel

Fixes #18408
  • Loading branch information
nyalldawson committed Jun 1, 2018
1 parent dcba919 commit 950d042e72cdb27b9c3c57a013e59bbb50e2b202
Showing with 3 additions and 3 deletions.
  1. +3 −3 python/plugins/processing/gui/wrappers.py
@@ -688,7 +688,7 @@ def setValue(self, value):
if self.dialogType == DIALOG_STANDARD:
pass # TODO
elif self.dialogType == DIALOG_BATCH:
return self.widget.setText(value)
return self.widget.setValue(value)
else:
options = self._getOptions()

@@ -916,7 +916,7 @@ def setValue(self, value):
self.combo.setAdditionalItems(items)
self.combo.setCurrentIndex(self.combo.findText(value))
elif self.dialogType == DIALOG_BATCH:
self.widget.setText(value)
self.widget.setValue(value)
else:
self.setComboValue(value, combobox=self.combo)
self.widgetValueHasChanged.emit(self)
@@ -1456,7 +1456,7 @@ def setValue(self, value):
self.combo.setAdditionalItems(items)
self.combo.setCurrentIndex(self.combo.findText(value))
elif self.dialogType == DIALOG_BATCH:
return self.widget.setText(value)
return self.widget.setValue(value)
else:
self.setComboValue(value, combobox=self.combo)
self.widgetValueHasChanged.emit(self)

0 comments on commit 950d042

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