mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-29 19:10:42 +01:00
Network: Fix edge delete whene there are multiple edge between two node.
This commit is contained in:
1 parent
9c5ea0bdd9
commit
0c0d7f3481
5 files changed
+22
-28
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user