Skip to content
Permalink
Browse files

[processing] correctly set default value in modeler algorithms (fix #…

  • Loading branch information
alexbruy committed May 23, 2016
1 parent 6ef22ee commit d2b21891d44a1beb5be2112a53f354c7abec9221
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/modeler/ModelerParametersDialog.py
@@ -314,7 +314,7 @@ def getWidgetFromParameter(self, param):
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):

0 comments on commit d2b2189

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