Skip to content
Permalink
Browse files

backported fix for # 11694

  • Loading branch information
anitagraser committed Dec 8, 2014
1 parent 72de633 commit c63f34693df705481c89391b4f3b381bebd6a984
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 c63f346

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