mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-17 00:04:02 -04:00
[processing] fix available inputs selection for multiple input
This commit is contained in:
parent
3461c7e1a7
commit
23c83b1e93
@ -346,8 +346,10 @@ class ModelerParametersDialog(QDialog):
|
|||||||
elif isinstance(param, ParameterMultipleInput):
|
elif isinstance(param, ParameterMultipleInput):
|
||||||
if param.datatype == ParameterMultipleInput.TYPE_VECTOR_ANY:
|
if param.datatype == ParameterMultipleInput.TYPE_VECTOR_ANY:
|
||||||
options = self.getAvailableValuesOfType(ParameterVector, OutputVector)
|
options = self.getAvailableValuesOfType(ParameterVector, OutputVector)
|
||||||
else:
|
elif aram.datatype == ParameterMultipleInput.TYPE_RASTER:
|
||||||
options = self.getAvailableValuesOfType(ParameterRaster, OutputRaster)
|
options = self.getAvailableValuesOfType(ParameterRaster, OutputRaster)
|
||||||
|
else:
|
||||||
|
options = self.getAvailableValuesOfType(ParameterFile, OutputFile)
|
||||||
opts = []
|
opts = []
|
||||||
for opt in options:
|
for opt in options:
|
||||||
opts.append(self.resolveValueDescription(opt))
|
opts.append(self.resolveValueDescription(opt))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user