From cf9df8d036970d00e38d1af4e80cdbc5421c63f1 Mon Sep 17 00:00:00 2001 From: miruka Date: Tue, 17 Mar 2020 17:14:47 -0400 Subject: [PATCH] Focus an item when changing view in roomPane --- src/gui/Pages/Chat/RoomPane/RoomPane.qml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/gui/Pages/Chat/RoomPane/RoomPane.qml b/src/gui/Pages/Chat/RoomPane/RoomPane.qml index 5b57adbd..bf618118 100644 --- a/src/gui/Pages/Chat/RoomPane/RoomPane.qml +++ b/src/gui/Pages/Chat/RoomPane/RoomPane.qml @@ -47,6 +47,13 @@ MultiviewPane { } + Connections { + target: swipeView + + onCurrentItemChanged: + swipeView.currentItem.keybindFocusItem.forceActiveFocus() + } + MemberView {} SettingsView { fillAvailableHeight: true } }