mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-18 22:50:57 +00:00
Allow focus to move up to the toolbar from the PC/app grid
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user