Skip to content
Permalink
Browse files

[processing] use default value in selection parameters in modeler

fixes #12766
  • Loading branch information
volaya committed Jun 22, 2015
1 parent 9838ea3 commit 78359ec510ce222a03d1d98351f241d8f11bbf8b
Showing with 1 addition and 0 deletions.
  1. +1 −0 python/plugins/processing/modeler/ModelerParametersDialog.py
@@ -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):

0 comments on commit 78359ec

Please sign in to comment.
You can’t perform that action at this time.