diff options
author | Thomas Hartmann <Thomas.Hartmann@nokia.com> | 2010-02-23 17:12:45 +0100 |
---|---|---|
committer | Thomas Hartmann <Thomas.Hartmann@nokia.com> | 2010-02-23 17:35:42 +0100 |
commit | fbd7b3c2020111d76c3cec9f2d39f89424ddabb0 (patch) | |
tree | 1b0be4045f85dd9bc5b90af0c5263e306d532b0c | |
parent | 97d6e4df5def150a7be8a761bf345e868bcfba3a (diff) | |
download | qt-creator-fbd7b3c2020111d76c3cec9f2d39f89424ddabb0.tar.gz |
QmlDesigner.propertyEditor: setting a value in intial setup
-rw-r--r-- | src/plugins/qmldesigner/components/propertyeditor/propertyeditor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.cpp b/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.cpp index 4b7a753591..ec16acfb6b 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) |