forked from qt-creator/qt-creator
qml inspector now shows correct categories for custom properties
Also, a class name is added in qmjs::bind so that we have a class name for custom properties defined inside a component.
This commit is contained in:
@@ -157,8 +157,10 @@ ObjectValue *Bind::bindObject(UiQualifiedId *qualifiedTypeNameId, UiObjectInitia
|
||||
|
||||
if (parentObjectValue)
|
||||
objectValue->setProperty(QLatin1String("parent"), parentObjectValue);
|
||||
else
|
||||
else {
|
||||
_rootObjectValue = objectValue;
|
||||
_rootObjectValue->setClassName(_doc->componentName());
|
||||
}
|
||||
|
||||
accept(initializer);
|
||||
|
||||
|
Reference in New Issue
Block a user