diff options
author | George Hazan <george.hazan@gmail.com> | 2024-02-01 17:19:08 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-02-01 17:19:08 +0300 |
commit | 9dddfef7c8a3b41cfc3584462af7d5c67f024756 (patch) | |
tree | a4ccb066c63f9ee332df6812e573d9672ed8f552 /plugins/Clist_modern/src/modern_clc.cpp | |
parent | 89547af5b067b00cae18c44e356044c1e75361cb (diff) |
fixes #4128 completely
Diffstat (limited to 'plugins/Clist_modern/src/modern_clc.cpp')
-rw-r--r-- | plugins/Clist_modern/src/modern_clc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Clist_modern/src/modern_clc.cpp b/plugins/Clist_modern/src/modern_clc.cpp index 835de2c645..b57b583774 100644 --- a/plugins/Clist_modern/src/modern_clc.cpp +++ b/plugins/Clist_modern/src/modern_clc.cpp @@ -326,7 +326,7 @@ static LRESULT clcOnCommand(ClcData *dat, HWND hwnd, UINT, WPARAM wParam, LPARAM if (hit != -1 && contact->type == CLCIT_GROUP) {
switch (LOWORD(wParam)) {
case POPUP_GROUPSHOWOFFLINE:
- Clist_GroupSetFlags(contact->groupId, MAKELPARAM(CLCItems_IsShowOfflineGroup(contact->group) ? 0 : GROUPF_SHOWOFFLINE, GROUPF_SHOWOFFLINE));
+ Clist_GroupSetFlags(contact->groupId, MAKELPARAM(contact->group->bShowOffline ? 0 : GROUPF_SHOWOFFLINE, GROUPF_SHOWOFFLINE));
Clist_Broadcast(CLM_AUTOREBUILD, 0, 0);
return 0;
}
|