Commit 992a3ec4 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.metaInfo: inherit defaultProperty

parent 17646d3d
......@@ -334,6 +334,8 @@ void SubComponentManagerPrivate::registerQmlFile(const QFileInfo &fileInfo, cons
nodeInfo.addProperty(propertyMetaInfo);
}
if (!nodeInfo.hasDefaultProperty())
nodeInfo.setDefaultProperty(nodeInfo.directSuperClass().defaultProperty());
}
} // namespace Internal
......
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