summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-09-05 19:58:51 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-09-05 19:58:51 +0300
commit5832cd9772395d3bad8cd64a3ffe0f4d0e028b60 (patch)
tree4a7d55862195b8ff71d6684464dd4969a3d7cb55
parentf64fcd4b52cd725e4ddb9afb168d5c4ec6fa256f (diff)
fixes #2046 (StdMsg: toolbar is broken after update)
-rw-r--r--src/core/stdmsg/src/msgdialog.cpp3
1 files changed, 1 insertions, 2 deletions
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;