Skip to content
Permalink
Browse files

[Processing] Fix updateDependentFields

  • Loading branch information
arnaud-morvan committed May 23, 2016
1 parent d676fcb commit 586e9bfabcfc09aded2b8b9708a15dd5194969ef
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/processing/gui/ParametersPanel.py
@@ -453,10 +453,10 @@ def updateDependentFields(self):
if isinstance(child, ParameterTableField):
widget = self.valueItems[child.name]
widget.clear()
if self.alg.getParameterFromName(child).optional:
if self.alg.getParameterFromName(child.name).optional:
widget.addItem(self.tr('[not set]'))
widget.addItems(self.getFields(layer,
self.alg.getParameterFromName(child).datatype))
self.alg.getParameterFromName(child.name).datatype))
if isinstance(child, OutputVector):
child.base_layer = layer

0 comments on commit 586e9bf

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