Network: Fix edge delete whene there are multiple edge between two node.

This commit is contained in:
Pierre-Antoine Rouby committed 2024-04-16 15:15:30 +02:00
1 parent 9c5ea0bdd9
commit 0c0d7f3481
5 files changed
+22 -28

No files matched your search

+1 -1
View File
@@ -636,7 +636,7 @@ class AddNodeCommand(QUndoCommand):
self._node = node
def undo(self):
self._graph.remove_node(self._node.name)
self._graph.remove_node(self._node)
def redo(self):
self._graph.insert_node(self._node)