From 041d0b32f53961d6f2429217f1a0365ef2bbbdca Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 14 Apr 2025 16:25:48 +0300 Subject: fix for a very old bug when sometimes not all groups were displayed in the contact list --- plugins/Clist_modern/src/modern_clcmsgs.cpp | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'plugins') diff --git a/plugins/Clist_modern/src/modern_clcmsgs.cpp b/plugins/Clist_modern/src/modern_clcmsgs.cpp index 25fcccf9af..22bfe3805c 100644 --- a/plugins/Clist_modern/src/modern_clcmsgs.cpp +++ b/plugins/Clist_modern/src/modern_clcmsgs.cpp @@ -59,19 +59,6 @@ LRESULT cli_ProcessExternalMessages(HWND hwnd, ClcData *dat, UINT msg, WPARAM wP cliInvalidateRect(hwnd, nullptr, FALSE); return 0; - case CLM_SETHIDEEMPTYGROUPS: - { - BOOL old = ((GetWindowLongPtr(hwnd, GWL_STYLE) & CLS_HIDEEMPTYGROUPS) != 0); - if (wParam) - SetWindowLongPtr(hwnd, GWL_STYLE, GetWindowLongPtr(hwnd, GWL_STYLE) | CLS_HIDEEMPTYGROUPS); - else - SetWindowLongPtr(hwnd, GWL_STYLE, GetWindowLongPtr(hwnd, GWL_STYLE) &~CLS_HIDEEMPTYGROUPS); - BOOL newval = ((GetWindowLongPtr(hwnd, GWL_STYLE) & CLS_HIDEEMPTYGROUPS) != 0); - if (newval != old) - Clist_InitAutoRebuild(hwnd); - } - return 0; - case CLM_SETTEXTCOLOR: if (wParam > FONTID_MODERN_MAX) break; -- cgit v1.2.3