diff options
-rw-r--r-- | src/core/stdmsg/src/chat_manager.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/stdmsg/src/chat_manager.cpp b/src/core/stdmsg/src/chat_manager.cpp index 527e83f5e6..0cee322b92 100644 --- a/src/core/stdmsg/src/chat_manager.cpp +++ b/src/core/stdmsg/src/chat_manager.cpp @@ -216,6 +216,8 @@ static void ShowRoom(SESSION_INFO *si) si->pDlg->RedrawLog(); si->pDlg->UpdateStatusBar(); } + else if (g_Settings.bTabsEnable && g_pTabDialog) + g_pTabDialog->m_tab.ActivatePage(g_pTabDialog->m_tab.GetDlgIndex(si->pDlg)); SetWindowLongPtr(si->pDlg->GetHwnd(), GWL_EXSTYLE, GetWindowLongPtr(si->pDlg->GetHwnd(), GWL_EXSTYLE) | WS_EX_APPWINDOW); |