Skip to content

Commit ad3bed2

Browse files
authored
fix delete node undo bug.
1 parent c52e4ee commit ad3bed2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

NodeGraphQt/base/commands.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,6 @@ def undo(self):
153153
[port.connect_to(p) for p in connected_ports]
154154

155155
def redo(self):
156-
self.graph.properties_bin().remove_node(self.node)
157-
158156
for port, connected_ports in self.inputs:
159157
[port.disconnect_from(p) for p in connected_ports]
160158
for port, connected_ports in self.outputs:

0 commit comments

Comments
 (0)