diff options
Diffstat (limited to 'src/core/stdmsg')
-rw-r--r-- | src/core/stdmsg/src/chat_manager.cpp | 1 | ||||
-rw-r--r-- | src/core/stdmsg/src/msgdialog.cpp | 5 |
2 files changed, 4 insertions, 2 deletions
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();
}
|