summaryrefslogtreecommitdiff
path: root/src/main/python/utils/undo.py
diff options
context:
space:
mode:
authorbrenda-br2023-02-02 19:12:02 +0530
committerbrenda-br2023-02-02 19:12:02 +0530
commit4ac334851d1ceb92a582d3cfad40b0c0536899f1 (patch)
treee8fa128568e8d63cc305e50c2599387ee8c3f8b1 /src/main/python/utils/undo.py
parent4aea2c78d080aba7f686a6385f06459c76e63317 (diff)
downloadChemical-PFD-4ac334851d1ceb92a582d3cfad40b0c0536899f1.tar.gz
Chemical-PFD-4ac334851d1ceb92a582d3cfad40b0c0536899f1.tar.bz2
Chemical-PFD-4ac334851d1ceb92a582d3cfad40b0c0536899f1.zip
Fix #26 Node Line added after undoing delete action
Diffstat (limited to 'src/main/python/utils/undo.py')
-rw-r--r--src/main/python/utils/undo.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/python/utils/undo.py b/src/main/python/utils/undo.py
index 6a46b27..090ce9d 100644
--- a/src/main/python/utils/undo.py
+++ b/src/main/python/utils/undo.py
@@ -54,6 +54,7 @@ class deleteCommand(QUndoCommand):
self.scene.addItem(self.diagramItem)
self.scene.update()
self.scene.advance()
+ self.scene.reInsertLines()
def redo(self):
self.scene.removeItem(self.diagramItem)