Make fullscreen images focused when they're opened

Otherwise keyboard shortcuts don't work until you tap the image, which
makes no sense.

BUG: 484322
This commit is contained in:
Joshua Goins
2024-11-09 17:09:12 -05:00
parent 1ee15de78b
commit a41d0f3214
2 changed files with 4 additions and 0 deletions

View File

@@ -14,6 +14,8 @@ Components.AbstractMaximizeComponent {
property color avatarColor
required property string avatarSource
onOpened: forceActiveFocus()
Shortcut {
sequences: [StandardKey.Cancel]
onActivated: root.close()