From 5832cd9772395d3bad8cd64a3ffe0f4d0e028b60 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 5 Sep 2019 19:58:51 +0300 Subject: fixes #2046 (StdMsg: toolbar is broken after update) --- src/core/stdmsg/src/msgdialog.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/core/stdmsg') diff --git a/src/core/stdmsg/src/msgdialog.cpp b/src/core/stdmsg/src/msgdialog.cpp index 47db8d6669..8d80c15316 100644 --- a/src/core/stdmsg/src/msgdialog.cpp +++ b/src/core/stdmsg/src/msgdialog.cpp @@ -161,6 +161,7 @@ bool CMsgDialog::OnInitDialog() m_log.SendMsg(EM_AUTOURLDETECT, TRUE, 0); m_message.SendMsg(EM_SETEVENTMASK, 0, ENM_CHANGE); + OnOptionsApplied(false); if (isChat()) { m_avatar.Hide(); @@ -241,8 +242,6 @@ bool CMsgDialog::OnInitDialog() UpdateLastMessage(); } - OnOptionsApplied(false); - // restore saved msg if any... if (m_hContact) { DBVARIANT dbv; -- cgit v1.2.3