summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorAxel Spoerl <axel.spoerl@qt.io>2023-04-19 18:46:33 +0200
committerAxel Spoerl <axel.spoerl@qt.io>2023-04-22 14:57:46 +0200
commitb1802a164b8682ed9e8956a5a19a90ade65c25d0 (patch)
tree579cf82bfae53fc2b135bbf3bc606b56779e2452 /examples
parent544464c3d173246e58d39351599b0ffa87ec43df (diff)
Handle parent being a child's focus procy in QWidget::setFocusProxy
When a parent became a new child's focus proxy in an existing focus chain, the child was appended at the end of the chain. That leads to broken tab order, e.g. with a QComboBox which became editable after a focus chain has been set. This patch captures the case and insertes the new child after its parent in the focus chain. A corresponding test function is added in tst_QWidget. Fixes: QTBUG-111978 Pick-to: 6.5 Change-Id: I3a426c0560fa830b7b7ffead54f26dd0adef499f Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions