parent
01c349e14b
commit
937e3420e2
@ -180,7 +180,7 @@ class Parameter(QtCore.QObject):
|
|||||||
raise Exception("Parameter must have a string name specified in opts.")
|
raise Exception("Parameter must have a string name specified in opts.")
|
||||||
self.setName(name)
|
self.setName(name)
|
||||||
|
|
||||||
self.addChildren(self.opts.get('children', []))
|
self.addChildren(self.opts.pop('children', []))
|
||||||
|
|
||||||
self.opts['value'] = None
|
self.opts['value'] = None
|
||||||
if value is not None:
|
if value is not None:
|
||||||
|
Loading…
Reference in New Issue
Block a user