From cca8cfd9395d44b9c0e044b8b7e627e9f8545db9 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 11 Dec 2020 19:57:25 +0300 Subject: fixes #2643 (TabSRMM: internal log disappears after any color change for group chats) --- plugins/TabSRMM/src/chat_options.cpp | 4 ++++ plugins/TabSRMM/src/generic_msghandlers.cpp | 2 ++ 2 files changed, 6 insertions(+) (limited to 'plugins/TabSRMM/src') diff --git a/plugins/TabSRMM/src/chat_options.cpp b/plugins/TabSRMM/src/chat_options.cpp index 53c3a7b4f9..7cd01aa80e 100644 --- a/plugins/TabSRMM/src/chat_options.cpp +++ b/plugins/TabSRMM/src/chat_options.cpp @@ -401,6 +401,10 @@ void RegisterFontServiceFonts() int FontServiceFontsChanged(WPARAM, LPARAM) { + g_chatApi.ReloadSettings(); + g_chatApi.MM_IconsChanged(); + g_chatApi.MM_FontsChanged(); + PluginConfig.reloadSettings(); CSkin::initAeroEffect(); CacheMsgLogIcons(); diff --git a/plugins/TabSRMM/src/generic_msghandlers.cpp b/plugins/TabSRMM/src/generic_msghandlers.cpp index 866d149810..5f4758b7e5 100644 --- a/plugins/TabSRMM/src/generic_msghandlers.cpp +++ b/plugins/TabSRMM/src/generic_msghandlers.cpp @@ -874,6 +874,8 @@ void CMsgDialog::DM_OptionsApplied(bool bRemakeLog) if (bRemakeLog) { if (IsIconic(m_pContainer->m_hwnd)) m_bDeferredRemakeLog = true; + else if (isChat()) + RedrawLog(); else RemakeLog(); } -- cgit v1.2.3