forked from qt-creator/qt-creator
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user