Skip to content
Permalink
Browse files

Fix package layers algorithm can't take the outputs from models

Fixes #17544
  • Loading branch information
nyalldawson committed Nov 26, 2017
1 parent 96857eb commit 74514220697bba661591f1b7c3bd6012e302689d
Showing with 6 additions and 0 deletions.
  1. +6 −0 python/plugins/processing/gui/wrappers.py
@@ -541,6 +541,12 @@ def _getOptions(self):
QgsProcessingParameterVectorLayer,
QgsProcessingParameterMultipleLayers),
QgsProcessingOutputVectorLayer)
elif self.param.layerType() == QgsProcessing.TypeVector:
options = self.dialog.getAvailableValuesOfType((QgsProcessingParameterFeatureSource,
QgsProcessingParameterVectorLayer,
QgsProcessingParameterMultipleLayers),
QgsProcessingOutputVectorLayer,
[QgsProcessing.TypeVector])
elif self.param.layerType() == QgsProcessing.TypeVectorPoint:
options = self.dialog.getAvailableValuesOfType((QgsProcessingParameterFeatureSource,
QgsProcessingParameterVectorLayer,

0 comments on commit 7451422

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