diff options
author | George Hazan <ghazan@miranda.im> | 2018-06-08 19:37:22 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-06-08 19:37:22 +0300 |
commit | 28df550d24979753fe8743e22a71defd89e6bbd7 (patch) | |
tree | bf98b41d6295b6680c5eb8cd9a7c63daaf6a4eda | |
parent | 5d015a0fe9f9cd063f3d823726d5535e8e0cac2f (diff) |
StdMsg: a chat should update a window title only if it's active
-rw-r--r-- | src/core/stdmsg/src/chat_window.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/stdmsg/src/chat_window.cpp b/src/core/stdmsg/src/chat_window.cpp index 86662eaac5..c8e23c46b8 100644 --- a/src/core/stdmsg/src/chat_window.cpp +++ b/src/core/stdmsg/src/chat_window.cpp @@ -369,7 +369,8 @@ void CChatRoomDlg::UpdateTitle() break; } - SetWindowText(m_pOwner->GetHwnd(), szTemp); + if (this == m_pOwner->CurrPage()) + SetWindowText(m_pOwner->GetHwnd(), szTemp); } ///////////////////////////////////////////////////////////////////////////////////////// |