diff options
author | brenda-br | 2023-02-06 13:47:36 +0530 |
---|---|---|
committer | brenda-br | 2023-02-06 13:47:36 +0530 |
commit | 42942f4c0f6aee658ffd2c374588c402debca33d (patch) | |
tree | f28f30f08d72008fe7262d05c96d7704f75cec2f | |
parent | a27d2a38e06cd4ab534cd0df3967446059464595 (diff) | |
download | Chemical-PFD-42942f4c0f6aee658ffd2c374588c402debca33d.tar.gz Chemical-PFD-42942f4c0f6aee658ffd2c374588c402debca33d.tar.bz2 Chemical-PFD-42942f4c0f6aee658ffd2c374588c402debca33d.zip |
Reconnect Lines on redo function
-rw-r--r-- | src/main/python/utils/undo.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/python/utils/undo.py b/src/main/python/utils/undo.py index 3cc832f..2f28964 100644 --- a/src/main/python/utils/undo.py +++ b/src/main/python/utils/undo.py @@ -66,6 +66,8 @@ class deleteCommand(QUndoCommand): def redo(self): self.scene.removeItem(self.diagramItem) self.scene.advance() + if(issubclass(self.diagramItem.__class__,shapes.Line)): + self.reconnectLines() def findLGIndex(self): startIndex = None |