Focus code and location chooser maximize components too

I did this for images a while back, but not for these. Otherwise you
can't press escape or perform other key navigation functions easily.

BUG: 515462
FIXED-IN: 25.12.2
(cherry picked from commit 793f81e733)
This commit is contained in:
Joshua Goins
2026-02-03 17:37:32 -05:00
parent bef4f370b6
commit 6abc398033
2 changed files with 4 additions and 0 deletions

View File

@@ -150,4 +150,6 @@ Components.AbstractMaximizeComponent {
color: Kirigami.Theme.backgroundColor color: Kirigami.Theme.backgroundColor
} }
} }
onOpened: forceActiveFocus()
} }

View File

@@ -45,6 +45,8 @@ Components.AbstractMaximizeComponent {
} }
] ]
onOpened: forceActiveFocus()
PositionSource { PositionSource {
id: positionSource id: positionSource