Skip to content

Commit 953ea96

Browse files
olivierdalangnyalldawson
authored andcommitted
fixes #19825
1 parent 77d7d66 commit 953ea96

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

python/plugins/processing/gui/wrappers.py

+6-3
Original file line numberDiff line numberDiff line change
@@ -638,11 +638,14 @@ def _getOptions(self):
638638
[QgsProcessingOutputRasterLayer,
639639
QgsProcessingOutputMapLayer,
640640
QgsProcessingOutputMultipleLayers])
641-
elif self.parameterDefinition().layerType() == QgsProcessing.TypeVector:
642-
options = self.dialog.getAvailableValuesOfType((QgsProcessingParameterFeatureSource,
641+
elif self.parameterDefinition().layerType() == QgsProcessing.TypeMapLayer:
642+
options = self.dialog.getAvailableValuesOfType((QgsProcessingParameterRasterLayer,
643+
QgsProcessingParameterFeatureSource,
643644
QgsProcessingParameterVectorLayer,
644645
QgsProcessingParameterMultipleLayers),
645-
[QgsProcessingOutputVectorLayer,
646+
[QgsProcessingOutputRasterLayer,
647+
QgsProcessingOutputVectorLayer,
648+
QgsProcessingOutputMapLayer,
646649
QgsProcessingOutputMultipleLayers])
647650
else:
648651
options = self.dialog.getAvailableValuesOfType(QgsProcessingParameterFile, QgsProcessingOutputFile)

0 commit comments

Comments
 (0)