Skip to content

Commit

Permalink
[processing] use default value in selection parameters in modeler
Browse files Browse the repository at this point in the history
fixes #12766
  • Loading branch information
volaya committed Jun 22, 2015
1 parent 9838ea3 commit 78359ec
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -281,6 +281,7 @@ def getWidgetFromParameter(self, param):
elif isinstance(param, ParameterSelection):
item = QComboBox()
item.addItems(param.options)
item.setCurrentIndex(param.default)
elif isinstance(param, ParameterFixedTable):
item = FixedTablePanel(param)
elif isinstance(param, ParameterRange):
Expand Down

0 comments on commit 78359ec

Please sign in to comment.