From cfde6cb6339725ee6ffda803663712ce58ce02c4 Mon Sep 17 00:00:00 2001 From: miruka Date: Thu, 9 Jul 2020 20:44:36 -0400 Subject: [PATCH] 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. --- src/gui/MainPane/BottomBar.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/MainPane/BottomBar.qml b/src/gui/MainPane/BottomBar.qml index c7bbc053..a4a0ba1b 100644 --- a/src/gui/MainPane/BottomBar.qml +++ b/src/gui/MainPane/BottomBar.qml @@ -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: {