From 8582a8a08b2831cdc88efe17c98db7e95ba6163c Mon Sep 17 00:00:00 2001 From: Sebastien Maraux Date: Mon, 1 Apr 2019 17:52:13 +0200 Subject: [PATCH] bad call on nodeItem instead of nodzInst for signal_UndoRedoConnectNodes --- nodz_main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nodz_main.py b/nodz_main.py index b841067..90f9384 100644 --- a/nodz_main.py +++ b/nodz_main.py @@ -1712,7 +1712,8 @@ def _disconnectAll(self): removedConnections.append(ConnectionInfo(plug.connections[0])) plug.connections[0]._remove() - self.signal_UndoRedoConnectNodes.emit(self, removedConnections, addedConnections) + nodzInst = self.scene().views()[0] + nodzInst.signal_UndoRedoConnectNodes.emit(self, removedConnections, addedConnections) def _remove(self): """