diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-11-11 21:40:23 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-11-11 21:40:23 +0100 |
commit | d6f4f3a6471b42333bcb3fe39cdf46dfa13abf4e (patch) | |
tree | aab76ee9b11c3bcd0c0603c1e165d0de7c902ffc /src/MainWindow.cpp | |
parent | Make yellow darker (diff) | |
download | nheko-d6f4f3a6471b42333bcb3fe39cdf46dfa13abf4e.tar.xz |
Fix secrets status not shown after startup
Diffstat (limited to '')
-rw-r--r-- | src/MainWindow.cpp | 4 |
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); |