summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/msgdialog.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-05-26 00:20:25 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-05-26 00:20:25 +0300
commit049be2b2e344fc9e2ff72ca237d907401fcb051f (patch)
tree062dff423b1f0802fd0d29061805065749fe8259 /plugins/TabSRMM/src/msgdialog.cpp
parent3a27b129faf09c13f67ea31bcac6764d5c45e7ec (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.cpp3
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;