diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2017-07-10 16:48:07 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2017-07-11 09:41:13 +0000 |
commit | 744164e6c92cb721d2a339cee8c465e1685723f9 (patch) | |
tree | 680bf1ea6f68249a7985eb6a67780d0738d5c818 /tests/auto/controls/data/tst_scrollindicator.qml | |
parent | cc188f897af27daf47b0937e38ccb76ac2310abb (diff) |
Fix focus handling for popups
When a popup is closed, if there are multiple popups open, restore
focus to the next popup in chain instead of transferring focus to the
window content. This allows us to cleanup the custom focus handling
for sub-menus in dev. There is no more need to manually transfer focus
to the parent menu or to a sub-menu, but calling open() or close() is
enough and the focus is automatically transferred as expected.
Change-Id: I54406c7c6b8dd25af261e00ebb1ae00ccbea8b9f
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tests/auto/controls/data/tst_scrollindicator.qml')
0 files changed, 0 insertions, 0 deletions