Skip to content
Permalink
Browse files

Model vector layer inputs can also be used for feature source parameters

  • Loading branch information
nyalldawson committed Aug 18, 2017
1 parent f1ac0be commit f2d2777bf3af2f6cb60ca56f2d0cba302cbc54af
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/gui/wrappers.py
@@ -862,7 +862,7 @@ def createWidget(self):
return widget
else:
self.combo = QComboBox()
layers = self.dialog.getAvailableValuesOfType(QgsProcessingParameterFeatureSource, QgsProcessingOutputVectorLayer)
layers = self.dialog.getAvailableValuesOfType((QgsProcessingParameterFeatureSource, QgsProcessingParameterVectorLayer), QgsProcessingOutputVectorLayer)
self.combo.setEditable(True)
for layer in layers:
self.combo.addItem(self.dialog.resolveValueDescription(layer), layer)

0 comments on commit f2d2777

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