diff options
-rw-r--r-- | plugins/TabSRMM/src/chat_options.cpp | 4 | ||||
-rw-r--r-- | plugins/TabSRMM/src/generic_msghandlers.cpp | 2 | ||||
-rw-r--r-- | src/core/stdmsg/src/chat_manager.cpp | 1 | ||||
-rw-r--r-- | src/core/stdmsg/src/msgdialog.cpp | 5 |
4 files changed, 10 insertions, 2 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(); } diff --git a/src/core/stdmsg/src/chat_manager.cpp b/src/core/stdmsg/src/chat_manager.cpp index df2c30f650..4b1a43aafc 100644 --- a/src/core/stdmsg/src/chat_manager.cpp +++ b/src/core/stdmsg/src/chat_manager.cpp @@ -190,7 +190,6 @@ static void ShowRoom(SESSION_INFO *si) si->pDlg->UpdateNickList(); else si->pDlg->UpdateTitle(); - si->pDlg->RedrawLog(); si->pDlg->UpdateStatusBar(); } else if (g_Settings.bTabsEnable && g_pTabDialog) diff --git a/src/core/stdmsg/src/msgdialog.cpp b/src/core/stdmsg/src/msgdialog.cpp index 400a87a368..b5d16c8452 100644 --- a/src/core/stdmsg/src/msgdialog.cpp +++ b/src/core/stdmsg/src/msgdialog.cpp @@ -1371,8 +1371,11 @@ void CMsgDialog::OnOptionsApplied(bool bUpdateAvatar) m_message.SendMsg(EM_SETCHARFORMAT, SCF_ALL, (WPARAM)&cf);
m_pLog->Clear();
- if (!isChat())
+ if (isChat())
+ RedrawLog();
+ else
RemakeLog();
+
FixTabIcons();
}
|