summaryrefslogtreecommitdiff
path: root/src/core/stdmsg
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-09-05 21:40:35 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-09-05 21:40:35 +0300
commit16b82bf6044ef8bff1acca10b0759dc59068c498 (patch)
treec2dd567dd3831474c7392e779a01e85eb0e9108e /src/core/stdmsg
parentd941a14f29d763514ee6b1005a448bb89942a5c6 (diff)
more correct fix for #2046
Diffstat (limited to 'src/core/stdmsg')
-rw-r--r--src/core/stdmsg/src/msgdialog.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/stdmsg/src/msgdialog.cpp b/src/core/stdmsg/src/msgdialog.cpp
index 8d80c15316..c82cdcb866 100644
--- a/src/core/stdmsg/src/msgdialog.cpp
+++ b/src/core/stdmsg/src/msgdialog.cpp
@@ -161,11 +161,11 @@ 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();
+ OnOptionsApplied(false);
OnActivate();
UpdateOptions();
UpdateStatusBar();
@@ -242,6 +242,8 @@ bool CMsgDialog::OnInitDialog()
UpdateLastMessage();
}
+ OnOptionsApplied(false);
+
// restore saved msg if any...
if (m_hContact) {
DBVARIANT dbv;