Room & member filter fields: support (shift+)tab

This commit is contained in:
miruka 2020-08-19 07:36:43 -04:00
parent 007a11b4aa
commit 2f1889423b
3 changed files with 5 additions and 1 deletions

View File

@ -2,7 +2,6 @@
- server list sorting method / explain what the % number is (stability)
- server list: make it more obvious that it can be scrolled
- support (shift+)tab in filter fields
- clicking cancel on SSO "waiting" box doesn't do anything the first time
- spam alt+shift+a when starting app on server browser → segfault
- remove items.Device

View File

@ -51,6 +51,8 @@ Rectangle {
Keys.forwardTo: [roomList]
Keys.priority: Keys.AfterItem
Keys.onTabPressed: roomList.incrementCurrentIndex()
Keys.onBacktabPressed: roomList.decrementCurrentIndex()
Keys.onEnterPressed: Keys.onReturnPressed(event)
Keys.onReturnPressed: {
roomList.showItemAtIndex()

View File

@ -48,6 +48,9 @@ HColumnLayout {
)
}
Keys.onTabPressed: memberList.incrementCurrentIndex()
Keys.onBacktabPressed: memberList.decrementCurrentIndex()
Keys.onEnterPressed: Keys.onReturnPressed(event)
Keys.onReturnPressed: {
currentItem.leftClicked()