diff --git a/NodeGraphQt/nodes/base_node.py b/NodeGraphQt/nodes/base_node.py index 2c505b41..ace12998 100644 --- a/NodeGraphQt/nodes/base_node.py +++ b/NodeGraphQt/nodes/base_node.py @@ -204,6 +204,10 @@ def add_custom_widget(self, widget, widget_type=None, tab=None): #: redraw node to address calls outside the "__init__" func. self.view.draw_node() + #: HACK: calling the .parent() function here on the widget as it seems + # to address a seg fault issue when exiting the application. + widget.parent() + def add_combo_menu(self, name, label='', items=None, tooltip=None, tab=None): """