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 sorting method / explain what the % number is (stability)
- server list: make it more obvious that it can be scrolled - 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 - clicking cancel on SSO "waiting" box doesn't do anything the first time
- spam alt+shift+a when starting app on server browser → segfault - spam alt+shift+a when starting app on server browser → segfault
- remove items.Device - remove items.Device

View File

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

View File

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