From 240334c13a2a9bdb833ff47f5becf4b466ef7aaf Mon Sep 17 00:00:00 2001 From: RadRussianRus Date: Fri, 15 May 2020 12:08:04 +0300 Subject: [PATCH] Update tray menu on notification sound change --- Telegram/SourceFiles/storage/localstorage.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Telegram/SourceFiles/storage/localstorage.cpp b/Telegram/SourceFiles/storage/localstorage.cpp index 899a4b4d4..98dd54e22 100644 --- a/Telegram/SourceFiles/storage/localstorage.cpp +++ b/Telegram/SourceFiles/storage/localstorage.cpp @@ -1197,6 +1197,7 @@ bool _readSetting(quint32 blockId, QDataStream &stream, int version, ReadSetting Global::SetSoundNotify((v & 0x01) == 0x01); Global::SetFlashBounceNotify((v & 0x02) == 0x00); + if (App::wnd()) App::wnd()->updateTrayMenu(); } break; case dbiAutoDownloadOld: {