diff options
author | Andrew den Exter <[email protected]> | 2013-11-21 11:10:10 +1000 |
---|---|---|
committer | The Qt Project <[email protected]> | 2013-11-22 02:01:39 +0100 |
commit | 1a76a4926a7cfecbe2bf4d75589af54e98c201c5 (patch) | |
tree | afa2e9f9654bc9e5ce016c2167d4765d1a8bcac7 /src/qml/compiler/qv4isel_moth.cpp | |
parent | 9b7dabbe9a347be95ed5206a4e4ab5218bbdb2a6 (diff) |
Fix assert after giving focus to a disabled item.
If an item has focus stolen by another item remove activeFocus from it even
if the item that gains focus doesn't gain activeFocus. Otherwise the focus
tree will enter a state where an item that is not the subFocusItem of its
focus scope has activeFocus which is invalid and will trigger an assert
in QQuickWindowPrivate::clearFocusInScope().
Task-number: QTBUG-34779
Change-Id: I72408ec0e4fd9b05ef595147ef1ef95b6aed1c16
Reviewed-by: Alan Alpert <[email protected]>
Diffstat (limited to 'src/qml/compiler/qv4isel_moth.cpp')
0 files changed, 0 insertions, 0 deletions