• 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
..
bic Loading commit data...
compilerwarnings/data Loading commit data...
headersclean Loading commit data...
particles Loading commit data...
qml Loading commit data...
qmldevtools Loading commit data...
qmltest Loading commit data...
quick Loading commit data...
shared Loading commit data...
auto.pro Loading commit data...