Commit c818858a authored by Marco Bubke's avatar Marco Bubke

QmlDesigner.Model: Detach NodeInstanceView before Rewriter

Change-Id: Idcf13d531ba0db0d944e98d126962b6445ffd433
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent d7bd46db
......@@ -109,15 +109,15 @@ void ModelPrivate::detachAllViews()
m_viewList.clear();
if (m_rewriterView) {
m_rewriterView->modelAboutToBeDetached(m_q);
m_rewriterView.clear();
}
if (m_nodeInstanceView) {
m_nodeInstanceView->modelAboutToBeDetached(m_q);
m_nodeInstanceView.clear();
}
if (m_rewriterView) {
m_rewriterView->modelAboutToBeDetached(m_q);
m_rewriterView.clear();
}
}
Model *ModelPrivate::create(QString type, int major, int minor, Model *metaInfoPropxyModel)
......
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