From 28df550d24979753fe8743e22a71defd89e6bbd7 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 8 Jun 2018 19:37:22 +0300 Subject: StdMsg: a chat should update a window title only if it's active --- src/core/stdmsg/src/chat_window.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/core') 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); } ///////////////////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3