Fix most undo/redo bugs

This commit is contained in:
xypwn
2020-03-29 18:25:08 +02:00
parent 9414c8c426
commit 0c5772ca52
9 changed files with 48 additions and 27 deletions

View File

@@ -14,8 +14,6 @@ RemoveParts::RemoveParts(Scene* scene, const QList<Part*>& parts)
RemoveParts::~RemoveParts()
{
for(auto part : m_parts)
m_scene->m_logic->deletePart(part);
delete m_wireUndoStack;
}