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:
2xB 2020-04-12 02:47:23 +02:00
parent 66b8c42ee0
commit 4f1bf8bb18

View File

@ -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):