feat: allow Node arguments to be passed to Custom Node (#437)

pull/566/merge
Attila Nagy 3 years ago committed by GitHub
parent 3c72e76be0
commit 0ca9385a62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -15,6 +15,6 @@ class Custom(Node):
def _load_icon(self): def _load_icon(self):
return self._icon return self._icon
def __init__(self, label, icon_path): def __init__(self, label, icon_path, *args, **kwargs):
self._icon = icon_path self._icon = icon_path
super().__init__(label) super().__init__(label, *args, **kwargs)

Loading…
Cancel
Save