Merge pull request #705 from campagnola/fix-parameter-opts
Don't store `children` key in Parameter.opts
This commit is contained in:
commit
8dea72d03d
|
@ -180,7 +180,7 @@ class Parameter(QtCore.QObject):
|
|||
raise Exception("Parameter must have a string name specified in opts.")
|
||||
self.setName(name)
|
||||
|
||||
self.addChildren(self.opts.get('children', []))
|
||||
self.addChildren(self.opts.pop('children', []))
|
||||
|
||||
self.opts['value'] = None
|
||||
if value is not None:
|
||||
|
|
Loading…
Reference in New Issue
Block a user