diff options
author | George Hazan <ghazan@miranda.im> | 2019-09-05 21:40:35 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-09-05 21:40:35 +0300 |
commit | 16b82bf6044ef8bff1acca10b0759dc59068c498 (patch) | |
tree | c2dd567dd3831474c7392e779a01e85eb0e9108e /src | |
parent | d941a14f29d763514ee6b1005a448bb89942a5c6 (diff) |
more correct fix for #2046
Diffstat (limited to 'src')
-rw-r--r-- | src/core/stdmsg/src/msgdialog.cpp | 4 |
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;
|