From 9e95602f74f3118eb317bd3595fa5f51708fe8a8 Mon Sep 17 00:00:00 2001 From: George Hazan <ghazan@miranda.im> Date: Fri, 20 Apr 2018 16:01:23 +0300 Subject: StdMsg: fixes #1286 (wrong double click behavior for groupchats) --- src/core/stdmsg/src/chat_manager.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/stdmsg') 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); -- cgit v1.2.3