From 789e9c7da86cd860bca064c121fa2c2a726efdb0 Mon Sep 17 00:00:00 2001 From: miruka Date: Wed, 8 Jul 2020 16:38:26 -0400 Subject: [PATCH] Close verif. page when verifying/blacklisting --- TODO.md | 2 +- src/gui/Pages/Chat/RoomPane/MemberView/DeviceVerification.qml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/TODO.md b/TODO.md index 9003ed6a..b6ae6d44 100644 --- a/TODO.md +++ b/TODO.md @@ -1,11 +1,11 @@ # TODO -- trust/blacklist buttons - reload devices when needed - get devices for members with no shared E2E room? - keyboard controls - remove useless Base imports in Base components - HTile enter trigger leftClicked() +- HMenuItem: use onTriggered, not onClicked ## Refactoring diff --git a/src/gui/Pages/Chat/RoomPane/MemberView/DeviceVerification.qml b/src/gui/Pages/Chat/RoomPane/MemberView/DeviceVerification.qml index fe861154..c234d6f7 100644 --- a/src/gui/Pages/Chat/RoomPane/MemberView/DeviceVerification.qml +++ b/src/gui/Pages/Chat/RoomPane/MemberView/DeviceVerification.qml @@ -31,7 +31,7 @@ HFlickableColumnPage { [deviceOwner, deviceId], () => { loading = false - page.verified() + stackView.pop() } ) } @@ -49,7 +49,7 @@ HFlickableColumnPage { [deviceOwner, deviceId], () => { loading = false - page.blacklisted() + stackView.pop() } ) }