From d6f4f3a6471b42333bcb3fe39cdf46dfa13abf4e Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Thu, 11 Nov 2021 21:40:23 +0100 Subject: [PATCH] Fix secrets status not shown after startup --- src/MainWindow.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index 34db0d1d..ae2e4e5d 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -246,6 +246,10 @@ MainWindow::showChatPage() login_page_->reset(); chat_page_->bootstrap(userid, homeserver, token); + connect(cache::client(), + &Cache::databaseReady, + userSettingsPage_, + &UserSettingsPage::updateSecretStatus); connect(cache::client(), &Cache::secretChanged, userSettingsPage_,