Commit 27dbbbc2 authored by Tobias Hunger's avatar Tobias Hunger

ModelEditor: Do not leak Packages

Change-Id: I535bef1cdf62d443b3b5b69b91db30717f4715d5
Reviewed-by: default avatarJochen Becher <jochen_becher@gmx.de>
Reviewed-by: Tobias Hunger's avatarTobias Hunger <tobias.hunger@qt.io>
parent 78ced14c
......@@ -336,6 +336,8 @@ void PxNodeController::onMenuActionTriggered(PxNodeController::MenuAction *actio
d->componentViewController->createComponentModel(folderNode, diagram, d->anchorFolder);
d->componentViewController->updateIncludeDependencies(package);
d->diagramSceneController->modelController()->undoController()->endMergeSequence();
} else {
delete package;
}
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment