Skip to content
Permalink
Browse files

fixes #19825

  • Loading branch information
olivierdalang authored and nyalldawson committed Sep 15, 2018
1 parent 77d7d66 commit 953ea96bfb671f4fa4bfc5536a9415b522470927
Showing with 6 additions and 3 deletions.
  1. +6 −3 python/plugins/processing/gui/wrappers.py
@@ -638,11 +638,14 @@ def _getOptions(self):
[QgsProcessingOutputRasterLayer,
QgsProcessingOutputMapLayer,
QgsProcessingOutputMultipleLayers])
elif self.parameterDefinition().layerType() == QgsProcessing.TypeVector:
options = self.dialog.getAvailableValuesOfType((QgsProcessingParameterFeatureSource,
elif self.parameterDefinition().layerType() == QgsProcessing.TypeMapLayer:
options = self.dialog.getAvailableValuesOfType((QgsProcessingParameterRasterLayer,
QgsProcessingParameterFeatureSource,
QgsProcessingParameterVectorLayer,
QgsProcessingParameterMultipleLayers),
[QgsProcessingOutputVectorLayer,
[QgsProcessingOutputRasterLayer,
QgsProcessingOutputVectorLayer,
QgsProcessingOutputMapLayer,
QgsProcessingOutputMultipleLayers])
else:
options = self.dialog.getAvailableValuesOfType(QgsProcessingParameterFile, QgsProcessingOutputFile)

0 comments on commit 953ea96

Please sign in to comment.
You can’t perform that action at this time.