QmlDesigner.propertyEditor: setting a value in intial setup

This commit is contained in:
Thomas Hartmann
2010-02-23 17:12:45 +01:00
parent 97d6e4df5d
commit fbd7b3c202

View File

@@ -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)