Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixes #19417 - AttributeError: 'BatchInputSelectionPanel' object has …
…no attribute 'getText'
  • Loading branch information
slarosa authored and nyalldawson committed Jul 15, 2018
1 parent 75fe94f commit f993ec0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/gui/wrappers.py
Expand Up @@ -723,7 +723,7 @@ def value(self):
False)
return [options[i] if isinstance(i, int) else i for i in self.widget.selectedoptions]
elif self.dialogType == DIALOG_BATCH:
return self.widget.getText()
return self.widget.value()
else:
options = self._getOptions()
values = [options[i] if isinstance(i, int) else QgsProcessingModelChildParameterSource.fromStaticValue(i)
Expand Down

0 comments on commit f993ec0

Please sign in to comment.