summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/msgdialog.cpp
diff options
context:
space:
mode:
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;