diff options
Diffstat (limited to 'src/commands.cpp')
-rw-r--r-- | src/commands.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/commands.cpp b/src/commands.cpp index 1ff3def..4d6a5bb 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -155,7 +155,8 @@ void RemoveObjectCommand::undo() { m_document->addItem(m_object); - foreach (DiagramConnection *connection, m_connections) + foreach (DiagramConnection *connection, m_connections) { m_document->addItem(connection); + } m_owner = false; } |