Skip to content
Permalink
Browse files

[processing] small fix in the MultipleLayerWidgetWrapper wrapper

  • Loading branch information
nirvn committed Feb 21, 2018
1 parent 585a4d3 commit 6573eb30e7df439a835e31055942fd8ed5d3fc45
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/gui/wrappers.py
@@ -693,7 +693,7 @@ def value(self):
options = self._getOptions()
values = [options[i] if isinstance(i, int) else QgsProcessingModelChildParameterSource.fromStaticValue(i)
for i in self.widget.selectedoptions]
if len(values) == 0 and not self.param.flags() & QgsProcessing.FlagOptional:
if len(values) == 0 and not self.param.flags() & QgsProcessingParameterDefinition.FlagOptional:
raise InvalidParameterValue()
return values

0 comments on commit 6573eb3

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