Commit 0d92b468 authored by Thomas Hartmann's avatar Thomas Hartmann

QmlDesigner.DesignDocument: removing code called twice

This is already called in changeToSubComponentAndPushOnCrumblePath()

Change-Id: Ia101144cc33407b0c6268cf7c3717502211654c6
Reviewed-by: default avatarMarco Bubke <marco.bubke@digia.com>
parent 99c383f3
......@@ -300,9 +300,6 @@ void DesignDocument::changeToSubComponent(const ModelNode &componentNode)
if (subComponentLoaded)
activateCurrentModel(m_inFileComponentTextModifier.data());
if (!componentNode.id().isEmpty())
QmlDesignerPlugin::instance()->viewManager().pushInFileComponentOnCrambleBar(componentNode.id());
}
void DesignDocument::changeToExternalSubComponent(const QString &fileName)
......
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