File tree 1 file changed +6
-3
lines changed
python/plugins/processing/gui
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -638,11 +638,14 @@ def _getOptions(self):
638
638
[QgsProcessingOutputRasterLayer ,
639
639
QgsProcessingOutputMapLayer ,
640
640
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 ,
643
644
QgsProcessingParameterVectorLayer ,
644
645
QgsProcessingParameterMultipleLayers ),
645
- [QgsProcessingOutputVectorLayer ,
646
+ [QgsProcessingOutputRasterLayer ,
647
+ QgsProcessingOutputVectorLayer ,
648
+ QgsProcessingOutputMapLayer ,
646
649
QgsProcessingOutputMultipleLayers ])
647
650
else :
648
651
options = self .dialog .getAvailableValuesOfType (QgsProcessingParameterFile , QgsProcessingOutputFile )
You can’t perform that action at this time.
0 commit comments