Skip to content

Commit

Permalink
[processing] Fix invalid attribute's name
Browse files Browse the repository at this point in the history
  • Loading branch information
pblottiere authored and nyalldawson committed May 21, 2018
1 parent b216326 commit dcc79fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/gui/wrappers.py
Expand Up @@ -985,7 +985,7 @@ def createWidget(self, useCheckBoxes=False, columns=1):
else:
self.combobox = QComboBox()
if self.param.flags() & QgsProcessingParameterDefinition.FlagOptional:
self.combo.addItem(self.NOT_SELECTED, self.NOT_SET_OPTION)
self.combobox.addItem(self.NOT_SELECTED, self.NOT_SET_OPTION)
for i, option in enumerate(self.param.options()):
self.combobox.addItem(option, i)
values = self.dialog.getAvailableValuesOfType(QgsProcessingParameterEnum)
Expand Down

0 comments on commit dcc79fc

Please sign in to comment.