Skip to content

Commit

Permalink
[processing] fix available inputs selection for multiple input
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Aug 8, 2016
1 parent 3461c7e commit 23c83b1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python/plugins/processing/modeler/ModelerParametersDialog.py
Expand Up @@ -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))
Expand Down

0 comments on commit 23c83b1

Please sign in to comment.