From 42942f4c0f6aee658ffd2c374588c402debca33d Mon Sep 17 00:00:00 2001 From: brenda-br Date: Mon, 6 Feb 2023 13:47:36 +0530 Subject: Reconnect Lines on redo function --- src/main/python/utils/undo.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main/python/utils/undo.py') 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 -- cgit