Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.7.0
-
None
-
c380aeefbfa2cd1aa2d1d21f45101bfb058a40de
Description
QDeclarativeItemKeyFilter will be initialized properly only if the valid reference is passed into the constructor. But sometimes parent is assigned using setParent call. Try to trace the constructor call for this cases:
>>
Keys.onPressed: console.log(event.key) // it works!
Keys {
onPressed: console.log(event.key) // does nothing
}
>>