Commit ece316fb authored by Thomas Hartmann's avatar Thomas Hartmann

QmlDesigner: Adding dummydata as context property

The dummyContextObject is now set as the context object

Change-Id: I710f1ef36b8c97cc481b9109a775f06d9e03f6b6
Reviewed-by: default avatarTim Jenssen <tim.jenssen@theqtcompany.com>
parent bb525e5f
......@@ -482,6 +482,7 @@ void NodeInstanceServer::setupDummyData(const QUrl &fileUrl)
if (m_dummyContextObject.isNull())
setupDefaultDummyData();
rootContext()->setContextObject(m_dummyContextObject);
}
void NodeInstanceServer::setupDefaultDummyData()
......
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