Skip to content

Commit

Permalink
[processing] fix handling of the multiple layers parameter when inputs
Browse files Browse the repository at this point in the history
are plain files
  • Loading branch information
alexbruy authored and nyalldawson committed Mar 10, 2019
1 parent 82b186f commit 0fcf567
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/gui/wrappers.py
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,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)
Expand Down

0 comments on commit 0fcf567

Please sign in to comment.