Commit 729fb86d authored by Marco Bubke's avatar Marco Bubke
Browse files

QmlDesigner.Rewriter: Fix crash in rewriter

parent 5e1ba0cb
......@@ -784,6 +784,7 @@ void TextToModelMerger::syncNode(ModelNode &modelNode,
qWarning() << "No default property for node type" << modelNode.type() << ", ignoring child items.";
} else {
setupComponent(modelNode);
modelPropertyNames.remove(QLatin1String("__component_data"));
}
} else {
AbstractProperty modelProperty = modelNode.property(defaultPropertyName);
......
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