Commit f382197a authored by Marco Bubke's avatar Marco Bubke

QmlDesigner: Fix crash for in file component change

Change-Id: I666dd0ca2b7e50584ae2ad5577ec2f4c685fb209
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent 6c64a0d9
......@@ -153,8 +153,6 @@ bool DesignDocument::loadInFileComponent(const ModelNode &componentNode)
if (!componentNode.isRootNode()) {
//change to subcomponent model
if (m_inFileComponentTextModifier)
delete m_inFileComponentTextModifier.data();
m_inFileComponentTextModifier.reset(createComponentTextModifier(m_documentTextModifier.data(), rewriterView(), componentText, componentNode));
......
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