Commit dcd34feb authored by Thomas Hartmann's avatar Thomas Hartmann Committed by Marco Bubke

QmlDesigner.textToModelMerger: do not sync children of Components

Everything that is inside a Component is ignored.

Change-Id: If9fee49fbddbb7093a4275e7afd8cf9c7befba74
Reviewed-on: http://codereview.qt.nokia.com/95Reviewed-by: default avatarMarco Bubke <marco.bubke@nokia.com>
parent 3d417ed6
......@@ -811,6 +811,9 @@ void TextToModelMerger::syncNode(ModelNode &modelNode,
if (isCustomParserType(typeName))
setupCustomParserNode(modelNode);
if (isComponentType(typeNameFixedForImplicitComponents))
return; //No need to enter components
context->enterScope(astNode);
QSet<QString> modelPropertyNames = QSet<QString>::fromList(modelNode.propertyNames());
......
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