Commit a0a36db5 authored by Marco Bubke's avatar Marco Bubke
Browse files

QmlDesigner: Set root NodeInstance as root item in the view

Change-Id: I305bc7bd0c369cd9dfcd68d7d79952c6a669b62c
Reviewed-by: default avatarMarco Bubke <>
parent 9818f714
......@@ -113,6 +113,8 @@ QList<ServerNodeInstance> NodeInstanceServer::createInstances(const QVector<Ins
if (instanceContainer.instanceId() == 0) {
m_rootNodeInstance = instance;
if (quickView())
quickView()->setContent(fileUrl(), m_importComponent, m_rootNodeInstance.rootQuickItem());
Supports Markdown
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