diff --git a/src/plugins/qmldesigner/core/instances/qmlpropertychangesnodeinstance.cpp b/src/plugins/qmldesigner/core/instances/qmlpropertychangesnodeinstance.cpp
index 67e7538a3f154ccd0b3f49766c704c250337ede6..514ea751674de73790fa9a0d42d97f433df772c6 100644
--- a/src/plugins/qmldesigner/core/instances/qmlpropertychangesnodeinstance.cpp
+++ b/src/plugins/qmldesigner/core/instances/qmlpropertychangesnodeinstance.cpp
@@ -119,7 +119,7 @@ void QmlPropertyChangesObject::setIsExplicit(bool isExplicit)
 
 QDeclarativeProperty QmlPropertyChangesObject::createMetaProperty(const QString &property)
 {
-    QDeclarativeProperty prop(m_targetObject.data(), property);
+    QDeclarativeProperty prop(m_targetObject.data(), property, QDeclarativeEngine::contextForObject(m_targetObject.data()));
     if (!prop.isValid()) {
         qWarning() << "Cannot assign to non-existent property" << property;
         return QDeclarativeProperty();