mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-24 00:05:18 -05:00
[processing] Fix invalid attribute's name
This commit is contained in:
parent
b21632602f
commit
dcc79fcfbf
@ -985,7 +985,7 @@ class EnumWidgetWrapper(WidgetWrapper):
|
||||
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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user