diff options
author | George Hazan <george.hazan@gmail.com> | 2024-01-10 20:33:07 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-01-10 20:33:07 +0300 |
commit | 4c9481e0685405dc52462e9442288298b244b885 (patch) | |
tree | aac93cc162221b8450590c34b55d8caf1f7c25a9 /plugins | |
parent | 04b8a61c89ef27e03ce3d9057bb98998c769a8a3 (diff) |
fixes #4117 (В Options->Message sessions->Typing notify сделать местную галку "показать группы")
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/TabSRMM/src/msgoptions.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/msgoptions.cpp b/plugins/TabSRMM/src/msgoptions.cpp index 2e727648ca..29d2285231 100644 --- a/plugins/TabSRMM/src/msgoptions.cpp +++ b/plugins/TabSRMM/src/msgoptions.cpp @@ -910,7 +910,6 @@ class COptTypingDlg : public CDlgBase void ResetCList(CCtrlClc* = nullptr)
{
- m_clist.SetUseGroups(Clist::UseGroups);
m_clist.SetHideEmptyGroups(true);
}
@@ -969,7 +968,8 @@ public: cii.pszText = TranslateT("** Unknown contacts **");
hItemUnknown = m_clist.AddInfoItem(&cii);
- SetWindowLongPtr(m_clist.GetHwnd(), GWL_STYLE, GetWindowLongPtr(m_clist.GetHwnd(), GWL_STYLE) | (CLS_SHOWHIDDEN));
+ DWORD dwStyle = GetWindowLongPtr(m_clist.GetHwnd(), GWL_STYLE);
+ SetWindowLongPtr(m_clist.GetHwnd(), GWL_STYLE, dwStyle | CLS_SHOWHIDDEN | CLS_USEGROUPS | CLS_GROUPCHECKBOXES | CLS_NOHIDEOFFLINE);
ResetCList();
CheckDlgButton(m_hwnd, IDC_SHOWNOTIFY, g_plugin.getByte(SRMSGSET_SHOWTYPING, SRMSGDEFSET_SHOWTYPING) ? BST_CHECKED : BST_UNCHECKED);
|