• Bea Lam's avatar
    Update item focus even if it doesn't have a canvas · d268ac6f
    Bea Lam authored
    Currently the item focus data is not updated if it is not in a canvas.
    This means a subFocusItem may be deleted when the item is outside of a
    canvas, creating a stale pointer when the item is moved back into a
    canvas.
    
    This change also means that the last item to set focus=true will now
    consistently get activeFocus. Previously if an item did not have a
    canvas and then was moved back into the canvas, the first item found
    with focus=true would get activeFocus.
    
    Task-number: QTBUG-24616
    Change-Id: Ia706bd6ba6bcbccd616b5019c7c0fae4c39afa7f
    Reviewed-by: default avatarAndrew den Exter <andrew.den-exter@nokia.com>
    d268ac6f
Name
Last commit
Last update
bin Loading commit data...
doc Loading commit data...
examples Loading commit data...
imports Loading commit data...
modules Loading commit data...
src Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.tag Loading commit data...
qtdeclarative.pro Loading commit data...
sync.profile Loading commit data...