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.fillWidth: true
Layout.fillHeight: true Layout.fillHeight: true
Keys.onUpPressed: roomList.decrementCurrentIndex() Keys.forwardTo: [roomList]
Keys.onDownPressed: roomList.incrementCurrentIndex() Keys.priority: Keys.AfterItem
Keys.onEnterPressed: Keys.onReturnPressed(event) Keys.onEnterPressed: Keys.onReturnPressed(event)
Keys.onReturnPressed: { Keys.onReturnPressed: {