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
1 changed files with 4 additions and 2 deletions

View File

@ -437,8 +437,10 @@ class GroupParameterItem(ParameterItem):
else:
ParameterItem.addChild(self, child)
def optsChanged(self, param, changed):
if 'addList' in changed:
def optsChanged(self, param, opts):
ParameterItem.optsChanged(self, param, opts)
if 'addList' in opts:
self.updateAddList()
def updateAddList(self):