Skip to content
Permalink
Browse files

Merge pull request #3096 from arnaud-morvan/processing_fix_updatedepe…

…ndentfields

[BUGFIX] [Processing] Fix updateDependentFields
  • Loading branch information
alexbruy committed May 26, 2016
2 parents a389862 + 586e9bf commit ed1235d3bf2bce1124dd0e58b4ac6e32afa58812
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 ed1235d

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