Skip to content
Permalink
Browse files

[processing] fix available inputs selection for multiple input

  • Loading branch information
alexbruy committed Aug 8, 2016
1 parent 3461c7e commit 23c83b1e931415f6b79bdec9560cc9f59b90d1a8
Showing with 3 additions and 1 deletion.
  1. +3 −1 python/plugins/processing/modeler/ModelerParametersDialog.py
@@ -346,8 +346,10 @@ def getWidgetFromParameter(self, param):
elif isinstance(param, ParameterMultipleInput):
if param.datatype == ParameterMultipleInput.TYPE_VECTOR_ANY:
options = self.getAvailableValuesOfType(ParameterVector, OutputVector)
else:
elif aram.datatype == ParameterMultipleInput.TYPE_RASTER:
options = self.getAvailableValuesOfType(ParameterRaster, OutputRaster)
else:
options = self.getAvailableValuesOfType(ParameterFile, OutputFile)
opts = []
for opt in options:
opts.append(self.resolveValueDescription(opt))

0 comments on commit 23c83b1

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