diff options
-rw-r--r-- | src/plugins/qmldesigner/core/instances/objectnodeinstance.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmldesigner/core/instances/objectnodeinstance.cpp b/src/plugins/qmldesigner/core/instances/objectnodeinstance.cpp index 584a137204..30fe189b54 100644 --- a/src/plugins/qmldesigner/core/instances/objectnodeinstance.cpp +++ b/src/plugins/qmldesigner/core/instances/objectnodeinstance.cpp @@ -389,7 +389,7 @@ void ObjectNodeInstance::addToNewProperty(QObject *object, QObject *newParent, c QDeclarativeListReference list = qvariant_cast<QDeclarativeListReference>(metaProperty.read()); #ifndef QT_DEBUG - if (!hasFullImplementedListInterface(listReference)) + if (!hasFullImplementedListInterface(list)) return; #endif |