Group-type Parameter doesn't hide (BUG)

6 views
Skip to first unread message

Adriel Jr.

unread,
May 27, 2016, 4:52:11 PM5/27/16
to pyqtgraph
I think that it is missing a call to the same method in the super class (as happens with the other Parameter types):

#Call base class to hide/show group-type parameter item
def optsChanged_Fix(self, param, opts):
   
ParameterItem.optsChanged(self, param, opts)
   
if 'addList' in opts:
       
self.updateAddList()

GroupParameterItem.optsChanged = optsChanged_Fix

Adriel
Reply all
Reply to author
Forward
0 new messages