Skip to content

Commit cabf077

Browse files
alexbruynyalldawson
authored andcommittedMar 10, 2019
[processing] fix handling of the multiple layers parameter when inputs
are plain files
1 parent b5ed7f3 commit cabf077

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎python/plugins/processing/gui/wrappers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,7 @@ def setValue(self, value):
738738
def value(self):
739739
if self.dialogType == DIALOG_STANDARD:
740740
if self.parameterDefinition().layerType() == QgsProcessing.TypeFile:
741-
return self.parameterDefinition().setValue(self.widget.selectedoptions)
741+
return self.widget.selectedoptions
742742
else:
743743
if self.parameterDefinition().layerType() == QgsProcessing.TypeRaster:
744744
options = QgsProcessingUtils.compatibleRasterLayers(QgsProject.instance(), False)

0 commit comments

Comments
 (0)
Please sign in to comment.