QmlDesigner.DesignDocument: removing code called twice

This is already called in changeToSubComponentAndPushOnCrumblePath()

Change-Id: Ia101144cc33407b0c6268cf7c3717502211654c6
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
This commit is contained in:
Thomas Hartmann
2013-06-21 15:52:42 +02:00
parent 99c383f3d0
commit 0d92b468b7

View File

@@ -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)