diff options
author | George Hazan <ghazan@miranda.im> | 2017-05-26 00:20:25 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-05-26 00:20:25 +0300 |
commit | 049be2b2e344fc9e2ff72ca237d907401fcb051f (patch) | |
tree | 062dff423b1f0802fd0d29061805065749fe8259 /plugins/TabSRMM/src/msgdialog.cpp | |
parent | 3a27b129faf09c13f67ea31bcac6764d5c45e7ec (diff) |
tabSRMM: tab icon isn't changing when a status changes
Diffstat (limited to 'plugins/TabSRMM/src/msgdialog.cpp')
-rw-r--r-- | plugins/TabSRMM/src/msgdialog.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/TabSRMM/src/msgdialog.cpp b/plugins/TabSRMM/src/msgdialog.cpp index 74f738dd77..6d7abf92cd 100644 --- a/plugins/TabSRMM/src/msgdialog.cpp +++ b/plugins/TabSRMM/src/msgdialog.cpp @@ -1018,6 +1018,8 @@ void CSrmmWindow::UpdateTitle() if (mir_wstrcmp(newtitle, m_wszTitle))
bChanged = true;
+ else if (m_wStatus != m_wOldStatus)
+ bChanged = true;
SendMessage(m_hwnd, DM_UPDATEWINICON, 0, 0);
@@ -1036,6 +1038,7 @@ void CSrmmWindow::UpdateTitle() }
else wcsncpy_s(newtitle, L"Message Session", _TRUNCATE);
+ m_wOldStatus = m_wStatus;
if (m_idle != dwOldIdle || bChanged) {
if (bChanged) {
item.mask |= TCIF_TEXT;
|