Commit 4af9cad3 authored by Tim Jenssen's avatar Tim Jenssen Committed by Thomas Hartmann
Browse files

QmlDesigner: use default values at metaInfo

Change-Id: I8e6ca24348602ade4a181c69db9c20bce547531f
Reviewed-by: default avatarThomas Hartmann <>
parent 1b5713e5
......@@ -332,7 +332,7 @@ void PropertyEditorQmlBackend::setup(const QmlObjectNode &qmlObjectNode, const Q
void PropertyEditorQmlBackend::initialSetup(const TypeName &typeName, const QUrl &qmlSpecificsFile, PropertyEditorView *propertyEditor)
NodeMetaInfo metaInfo = propertyEditor->model()->metaInfo(typeName, 4, 7);
NodeMetaInfo metaInfo = propertyEditor->model()->metaInfo(typeName);
foreach (const PropertyName &propertyName, metaInfo.propertyNames())
setupPropertyEditorValue(propertyName, propertyEditor, metaInfo.propertyTypeName(propertyName));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment