Skip to content
Permalink
Browse files

[processing] fix handling of the multiple layers parameter when inputs

are plain files
  • Loading branch information
alexbruy authored and nyalldawson committed Mar 11, 2019
1 parent 6da978d commit 4f9c03df6a70330ffe384384344771b103ec8cee
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/gui/wrappers.py
@@ -724,7 +724,7 @@ def setValue(self, value):
def value(self):
if self.dialogType == DIALOG_STANDARD:
if self.parameterDefinition().layerType() == QgsProcessing.TypeFile:
return self.parameterDefinition().setValue(self.widget.selectedoptions)
return self.widget.selectedoptions
else:
if self.parameterDefinition().layerType() == QgsProcessing.TypeRaster:
options = QgsProcessingUtils.compatibleRasterLayers(QgsProject.instance(), False)

0 comments on commit 4f9c03d

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