Skip to content

Commit 23c83b1

Browse files
committed
[processing] fix available inputs selection for multiple input
1 parent 3461c7e commit 23c83b1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

python/plugins/processing/modeler/ModelerParametersDialog.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -346,8 +346,10 @@ def getWidgetFromParameter(self, param):
346346
elif isinstance(param, ParameterMultipleInput):
347347
if param.datatype == ParameterMultipleInput.TYPE_VECTOR_ANY:
348348
options = self.getAvailableValuesOfType(ParameterVector, OutputVector)
349-
else:
349+
elif aram.datatype == ParameterMultipleInput.TYPE_RASTER:
350350
options = self.getAvailableValuesOfType(ParameterRaster, OutputRaster)
351+
else:
352+
options = self.getAvailableValuesOfType(ParameterFile, OutputFile)
351353
opts = []
352354
for opt in options:
353355
opts.append(self.resolveValueDescription(opt))

0 commit comments

Comments
 (0)