diff options
-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 |