diff options
author | George Hazan <ghazan@miranda.im> | 2018-04-20 16:01:23 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-04-20 16:01:23 +0300 |
commit | 9e95602f74f3118eb317bd3595fa5f51708fe8a8 (patch) | |
tree | 8305e59b799bf97e62c42f323d50950ec6a6d0b1 /src | |
parent | aced248dbb8820eb8ce72959034c32ccd15bdf31 (diff) |
StdMsg: fixes #1286 (wrong double click behavior for groupchats)
Diffstat (limited to 'src')
-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); |