Room filter field: forward keys to room list

The room list can handle up/down presses out of the box, no need to
define handlers for these on the filter field.
This commit is contained in:
miruka 2020-07-09 20:44:36 -04:00
parent 92cbc4b006
commit cfde6cb633

View File

@ -46,8 +46,8 @@ Rectangle {
Layout.fillWidth: true
Layout.fillHeight: true
Keys.onUpPressed: roomList.decrementCurrentIndex()
Keys.onDownPressed: roomList.incrementCurrentIndex()
Keys.forwardTo: [roomList]
Keys.priority: Keys.AfterItem
Keys.onEnterPressed: Keys.onReturnPressed(event)
Keys.onReturnPressed: {