From cf7786e6c6629b8c1c9156f98785017ae4b2a646 Mon Sep 17 00:00:00 2001 From: miruka Date: Sat, 11 Jul 2020 16:10:55 -0400 Subject: [PATCH] DeviceVerification: focus info area by default --- .../Chat/RoomPane/MemberView/DeviceVerification.qml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/gui/Pages/Chat/RoomPane/MemberView/DeviceVerification.qml b/src/gui/Pages/Chat/RoomPane/MemberView/DeviceVerification.qml index f73c690a..04b5934e 100644 --- a/src/gui/Pages/Chat/RoomPane/MemberView/DeviceVerification.qml +++ b/src/gui/Pages/Chat/RoomPane/MemberView/DeviceVerification.qml @@ -67,10 +67,6 @@ HFlickableColumnPage { CancelButton { id: cancelButton onClicked: page.close() - Component.onCompleted: { - page.previouslyFocused = window.activeFocusItem - forceActiveFocus() - } } } @@ -132,6 +128,11 @@ HFlickableColumnPage { formatInfo(qsTr("Session key: "), ""+page.ed25519Key+"") ) + Component.onCompleted: { + page.previouslyFocused = window.activeFocusItem + forceActiveFocus() + } + Layout.fillWidth: true }