summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TabSRMM')
-rw-r--r--plugins/TabSRMM/src/chat/services.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/TabSRMM/src/chat/services.cpp b/plugins/TabSRMM/src/chat/services.cpp
index 82be123c55..9e7d82272d 100644
--- a/plugins/TabSRMM/src/chat/services.cpp
+++ b/plugins/TabSRMM/src/chat/services.cpp
@@ -120,6 +120,8 @@ void ShowRoom(SESSION_INFO *si)
pDlg->Create();
HWND hwndNew = pDlg->GetHwnd();
+ item.lParam = (LPARAM)hwndNew;
+ TabCtrl_SetItem(hwndTab, iTabId, &item);
if (pContainer->dwFlags & CNT_SIDEBAR)
pContainer->SideBar->addSession(pDlg, pContainer->iTabIndex);