mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
[processing] correctly set default value in modeler algorithms (fix #12767)
This commit is contained in:
parent
6ef22eec6e
commit
d2b21891d4
@ -314,7 +314,7 @@ class ModelerParametersDialog(QDialog):
|
||||
elif isinstance(param, ParameterSelection):
|
||||
item = QComboBox()
|
||||
item.addItems(param.options)
|
||||
item.setCurrentIndex(param.default or 1)
|
||||
item.setCurrentIndex(param.default or 0)
|
||||
elif isinstance(param, ParameterFixedTable):
|
||||
item = FixedTablePanel(param)
|
||||
elif isinstance(param, ParameterRange):
|
||||
|
Loading…
x
Reference in New Issue
Block a user