From fbd7b3c2020111d76c3cec9f2d39f89424ddabb0 Mon Sep 17 00:00:00 2001 From: Thomas Hartmann <Thomas.Hartmann@nokia.com> Date: Tue, 23 Feb 2010 17:12:45 +0100 Subject: [PATCH] QmlDesigner.propertyEditor: setting a value in intial setup --- .../qmldesigner/components/propertyeditor/propertyeditor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.cpp b/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.cpp index 4b7a7535914..ec16acfb6ba 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) -- GitLab