Unify Sessions (shift+)tab and up/down navigation

This commit is contained in:
miruka 2020-09-13 19:28:50 -04:00
parent fb846226f8
commit 0d7a33d3a9

View File

@ -156,6 +156,8 @@ HColumnPage {
Layout.fillHeight: true Layout.fillHeight: true
Keys.onEscapePressed: uncheckAll() Keys.onEscapePressed: uncheckAll()
Keys.onTabPressed: incrementCurrentIndex()
Keys.onBacktabPressed: decrementCurrentIndex()
Keys.onSpacePressed: if (currentItem) toggleCheck(currentIndex) Keys.onSpacePressed: if (currentItem) toggleCheck(currentIndex)
Keys.onEnterPressed: if (currentItem) currentItem.openMenu(false) Keys.onEnterPressed: if (currentItem) currentItem.openMenu(false)
Keys.onReturnPressed: Keys.onEnterPressed(event) Keys.onReturnPressed: Keys.onEnterPressed(event)