diff --git a/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.cpp b/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.cpp index 4b7a753591408e0f971262af26cfc8bbd36b839c..ec16acfb6ba943c18e2798db7739751bdcf8b138 100644 --- a/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.cpp +++ b/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.cpp @@ -88,6 +88,7 @@ void setupPropertyEditorValue(const QString &name, QmlPropertyMap *propertyMap, propertyMap->insert(propertyName, QVariant::fromValue(valueObject)); } valueObject->setName(propertyName); + valueObject->setValue(QVariant("")); } void createPropertyEditorValue(const QmlObjectNode &fxObjectNode, const QString &name, const QVariant &value, QmlPropertyMap *propertyMap, PropertyEditor *propertyEditor)