Skip to content

Commit

Permalink
bad call on nodeItem instead of nodzInst for signal_UndoRedoConnectNodes
Browse files Browse the repository at this point in the history
  • Loading branch information
glm-smaraux committed Apr 1, 2019
1 parent 2de941f commit 8582a8a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nodz_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
"""
Expand Down

0 comments on commit 8582a8a

Please sign in to comment.