Commit 1c5aefff authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.propertyEditor: ignore dot properties in template generation

Dot properties should be handled as a group.

Change-Id: I0ff4f2043bf760eb3c6c6a0320d3f9e8e12355a6
Reviewed-by: default avatarAlessandro Portale <>
parent 0ffb029a
......@@ -700,7 +700,7 @@ QString templateGeneration(NodeMetaInfo type, NodeMetaInfo superType, const QmlO
if (typeName == QLatin1String("alias") && objectNode.isValid())
typeName = objectNode.instanceType(name);
if (!superType.hasProperty(name) && type.propertyIsWritable(name)) {
if (!superType.hasProperty(name) && type.propertyIsWritable(name) && !name.contains(QLatin1String("."))) {
foreach (const QmlJS::SimpleReaderNode::Ptr &node, templateConfiguration()->children())
if (variantToStringList(node->property(QLatin1String("typeNames"))).contains(typeName)) {
const QString fileName = propertyTemplatesPath() + node->property(QLatin1String("sourceFile")).toString();
Supports Markdown
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