summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-20 16:01:23 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-04-20 16:01:23 +0300
commit9e95602f74f3118eb317bd3595fa5f51708fe8a8 (patch)
tree8305e59b799bf97e62c42f323d50950ec6a6d0b1 /src
parentaced248dbb8820eb8ce72959034c32ccd15bdf31 (diff)
StdMsg: fixes #1286 (wrong double click behavior for groupchats)
Diffstat (limited to 'src')
-rw-r--r--src/core/stdmsg/src/chat_manager.cpp2
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);