summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-25 17:40:51 +0200
committerGeorge Hazan <ghazan@miranda.im>2018-04-25 17:40:51 +0200
commit23f92accd24e2861806fcb3d1b47ae274a05b1ac (patch)
treeef3d91104f6abc3895dab68b119b0d962fd80782 /src
parentb09a0d3b71115838de61b189f06545f7a12671d3 (diff)
fixes #1301
Diffstat (limited to 'src')
-rw-r--r--src/core/stdmsg/src/msgdialog.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/core/stdmsg/src/msgdialog.cpp b/src/core/stdmsg/src/msgdialog.cpp
index cc656c7754..681f7f5d7b 100644
--- a/src/core/stdmsg/src/msgdialog.cpp
+++ b/src/core/stdmsg/src/msgdialog.cpp
@@ -368,10 +368,14 @@ void CSrmmWindow::OnOptionsApplied(bool bUpdateAvatar)
ShowWindow(GetDlgItem(m_hwnd, IDCANCEL), SW_HIDE);
m_splitter.Show();
+
m_btnOk.Show(g_dat.bSendButton);
m_btnOk.Enable(GetWindowTextLength(m_message.GetHwnd()) != 0);
+
if (m_avatarPic == nullptr || !g_dat.bShowAvatar)
m_avatar.Hide();
+
+ UpdateIcon(0);
UpdateTitle();
Resize();
@@ -1397,8 +1401,7 @@ INT_PTR CSrmmWindow::DlgProc(UINT uMsg, WPARAM wParam, LPARAM lParam)
break;
case DM_UPDATETITLE:
- if (wParam)
- UpdateIcon(wParam);
+ UpdateIcon(wParam);
UpdateTitle();
break;