Skip to content

Commit

Permalink
Merge pull request LeGoffLoic#32 from glm-smaraux/fix_UndoRedoDisconn…
Browse files Browse the repository at this point in the history
…ectAll

bad call on nodeItem instead of nodzInst for signal_UndoRedoConnectNodes
  • Loading branch information
glm-smaraux authored Apr 1, 2019
2 parents 2de941f + 8582a8a commit d3231c2
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 d3231c2

Please sign in to comment.