Allow focus to move up to the toolbar from the PC/app grid

This commit is contained in:
Cameron Gutman
2026-01-27 00:24:29 -06:00
parent d040bd24d1
commit f4712718cb
2 changed files with 11 additions and 0 deletions
+5
View File
@@ -17,6 +17,11 @@ ItemDelegate {
}
Keys.onUpPressed: {
grid.moveCurrentIndexUp()
// If we've reached the top of the grid, move focus to the toolbar
if (grid.currentItem === this) {
nextItemInFocusChain(false).forceActiveFocus(Qt.TabFocus)
}
}
Keys.onReturnPressed: {
clicked()