Skip to content
Snippets Groups Projects
Commit 992a3ec4 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.metaInfo: inherit defaultProperty

parent 17646d3d
No related branches found
No related tags found
No related merge requests found
...@@ -334,6 +334,8 @@ void SubComponentManagerPrivate::registerQmlFile(const QFileInfo &fileInfo, cons ...@@ -334,6 +334,8 @@ void SubComponentManagerPrivate::registerQmlFile(const QFileInfo &fileInfo, cons
nodeInfo.addProperty(propertyMetaInfo); nodeInfo.addProperty(propertyMetaInfo);
} }
if (!nodeInfo.hasDefaultProperty())
nodeInfo.setDefaultProperty(nodeInfo.directSuperClass().defaultProperty());
} }
} // namespace Internal } // namespace Internal
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment