forked from qt-creator/qt-creator
Fix completion and checking for Script elements. Update Qml type xml.
* The "Script" type is now implicitly available without imports. * No errors for bindings inside a Connections element. Reviewed-by: Roberto Raggi
This commit is contained in:
@@ -170,7 +170,7 @@ ObjectValue *Bind::bindObject(UiQualifiedId *qualifiedTypeNameId, UiObjectInitia
|
||||
// Script blocks all contribute to the same scope
|
||||
parentObjectValue = switchObjectValue(_functionEnvironment);
|
||||
processScript(qualifiedTypeNameId, initializer);
|
||||
return switchObjectValue(parentObjectValue);
|
||||
switchObjectValue(parentObjectValue);
|
||||
}
|
||||
|
||||
// normal component instance
|
||||
|
Reference in New Issue
Block a user