Allow Node arguments to be passed to Custom Node

pull/437/head
Attila Nagy 5 years ago committed by GitHub
parent c2b10f3924
commit 053bf2cb46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save