summary refs log tree commit diff
path: root/src/MainWindow.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-11-11 21:40:23 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2021-11-11 21:40:23 +0100
commitd6f4f3a6471b42333bcb3fe39cdf46dfa13abf4e (patch)
treeaab76ee9b11c3bcd0c0603c1e165d0de7c902ffc /src/MainWindow.cpp
parentMake yellow darker (diff)
downloadnheko-d6f4f3a6471b42333bcb3fe39cdf46dfa13abf4e.tar.xz
Fix secrets status not shown after startup
Diffstat (limited to '')
-rw-r--r--src/MainWindow.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp
index 34db0d1d..ae2e4e5d 100644
--- a/src/MainWindow.cpp
+++ b/src/MainWindow.cpp
@@ -247,6 +247,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_,
             &UserSettingsPage::updateSecretStatus);