Skip to content
Permalink
Browse files

Merge pull request #1723 from anitagraser/patch-5

backported fix for # 11694
  • Loading branch information
alexbruy committed Dec 8, 2014
2 parents 72de633 + c63f346 commit c5d6f95a7816913ee96957b7d07946bb1173e111
Showing with 4 additions and 2 deletions.
  1. +4 −2 python/plugins/processing/modeler/ModelerParametersDialog.py
@@ -261,10 +261,12 @@ def getWidgetFromParameter(self, param):
item.addItem(self.resolveValueDescription(layer), layer)
elif isinstance(param, ParameterTable):
item = QComboBox()
item.setEditable(True)
layers = self.getAvailableValuesOfType(ParameterTable, OutputTable)
tables = self.getAvailableValuesOfType(ParameterTable, OutputTable)
layers = self.getAvailableValuesOfType(ParameterVector, OutputVector)
if param.optional:
item.addItem(self.NOT_SELECTED, None)
for table in tables:
item.addItem(self.resolveValueDescription(table), table)
for layer in layers:
item.addItem(self.resolveValueDescription(layer), layer)
elif isinstance(param, ParameterBoolean):

0 comments on commit c5d6f95

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