From 8ad1e8aed98b8543a670f8002da08f4c6dd66ffa Mon Sep 17 00:00:00 2001 From: John Preston Date: Thu, 25 Jun 2020 13:01:17 +0400 Subject: [PATCH] Fix saving of main menu accounts state. --- Telegram/SourceFiles/core/core_settings.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Telegram/SourceFiles/core/core_settings.cpp b/Telegram/SourceFiles/core/core_settings.cpp index a7fea72c00..21454d1a9d 100644 --- a/Telegram/SourceFiles/core/core_settings.cpp +++ b/Telegram/SourceFiles/core/core_settings.cpp @@ -89,8 +89,7 @@ QByteArray Settings::serialize() const { } stream << qint32(_autoDownloadDictionaries.current() ? 1 : 0) - << qint32(Window::Theme::Background()->tileDay() ? 1 : 0) - << qint32(Window::Theme::Background()->tileNight() ? 1 : 0); + << qint32(_mainMenuAccountsShown.current() ? 1 : 0); } return result; }