diff --git a/NodeGraphQt/base/commands.py b/NodeGraphQt/base/commands.py index e86d7c3a..360150d5 100644 --- a/NodeGraphQt/base/commands.py +++ b/NodeGraphQt/base/commands.py @@ -80,7 +80,7 @@ def set_node_visible(self, visible): model.set_property('visible', visible) node_view = self.node.view - node_view.setVisible(visible) + node_view.visible = visible # redraw the connected pipes in the scene. ports = node_view.inputs + node_view.outputs