GroupParameterItem: Did not pass changed options to ParameterItem
`ParameterItem` handles visibility changes in `optsChanged`. `GroupParameterItem` overrides this function, but never calls the super function, leading in visibility changes not being applied. This PR fixes this by calling said function. Fixes #788
This commit is contained in:
parent
66b8c42ee0
commit
4f1bf8bb18
@ -437,8 +437,10 @@ class GroupParameterItem(ParameterItem):
|
|||||||
else:
|
else:
|
||||||
ParameterItem.addChild(self, child)
|
ParameterItem.addChild(self, child)
|
||||||
|
|
||||||
def optsChanged(self, param, changed):
|
def optsChanged(self, param, opts):
|
||||||
if 'addList' in changed:
|
ParameterItem.optsChanged(self, param, opts)
|
||||||
|
|
||||||
|
if 'addList' in opts:
|
||||||
self.updateAddList()
|
self.updateAddList()
|
||||||
|
|
||||||
def updateAddList(self):
|
def updateAddList(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user