diff options
author | George Hazan <ghazan@miranda.im> | 2020-12-11 19:57:25 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-12-11 19:57:25 +0300 |
commit | cca8cfd9395d44b9c0e044b8b7e627e9f8545db9 (patch) | |
tree | 7e85ce8686be9e38876d1e52eac2e849c424112d /plugins/TabSRMM/src | |
parent | 89057685f2d5c4ca50426f153d8b92cba011b499 (diff) |
fixes #2643 (TabSRMM: internal log disappears after any color change for group chats)
Diffstat (limited to 'plugins/TabSRMM/src')
-rw-r--r-- | plugins/TabSRMM/src/chat_options.cpp | 4 | ||||
-rw-r--r-- | plugins/TabSRMM/src/generic_msghandlers.cpp | 2 |
2 files changed, 6 insertions, 0 deletions
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(); } |