From b996b817ffa3e54694eccfd061bef177e25ec0f0 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 16 Mar 2017 12:53:50 +0300 Subject: tabSRMM: fix for saving private container options --- plugins/TabSRMM/src/msgs.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/TabSRMM/src/msgs.cpp') diff --git a/plugins/TabSRMM/src/msgs.cpp b/plugins/TabSRMM/src/msgs.cpp index 067b9a5290..ca10099448 100644 --- a/plugins/TabSRMM/src/msgs.cpp +++ b/plugins/TabSRMM/src/msgs.cpp @@ -699,10 +699,10 @@ HWND TSAPI CreateNewTabForContact(TContainerData *pContainer, MCONTACT hContact, wchar_t *szStatus = pcli->pfnGetStatusModeDescription(szProto == nullptr ? ID_STATUS_OFFLINE : db_get_w(hContact, szProto, "Status", ID_STATUS_OFFLINE), 0); - if (M.GetByte("tabstatus", 1)) - mir_snwprintf(tabtitle, L"%s (%s) ", newcontactname, szStatus); + if (PluginConfig.m_bStatusOnTabs) + mir_snwprintf(tabtitle, L"%s (%s)", newcontactname, szStatus); else - mir_snwprintf(tabtitle, L"%s ", newcontactname); + mir_snwprintf(tabtitle, L"%s", newcontactname); HWND hwndTab = GetDlgItem(pContainer->hwnd, IDC_MSGTABS); // hide the active tab -- cgit v1.2.3