diff options
-rw-r--r-- | plugins/Scriver/src/tabs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Scriver/src/tabs.cpp b/plugins/Scriver/src/tabs.cpp index d12206e9e4..e024f1d50f 100644 --- a/plugins/Scriver/src/tabs.cpp +++ b/plugins/Scriver/src/tabs.cpp @@ -1325,7 +1325,7 @@ HWND GetParentWindow(MCONTACT hContact, bool bChat) }
else {
if (g_dat.lastChatParent != nullptr) {
- int tabsNum = g_dat.lastParent->GetChildCount();
+ int tabsNum = g_dat.lastChatParent->GetChildCount();
if (!g_dat.flags2.bLimitChatTabs || tabsNum < g_dat.limitChatsTabsNum)
return g_dat.lastChatParent->m_hwnd;
}
|