diff options
Diffstat (limited to 'src/MainWindow.cpp')
-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); |