summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-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;