diff options
author | George Hazan <ghazan@miranda.im> | 2020-12-08 20:24:04 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-12-08 20:24:04 +0300 |
commit | 5f63ad8fb27e6d6751215f19422b836ae4605416 (patch) | |
tree | 7e1f21732eea9b349613446b6ffa5de5eb7c6ace /src/mir_app | |
parent | 6f8704a7779920cc3300e034a1ae3368b168c08d (diff) |
fixes #2593 (Always/Never- Mute icons are not visible until restart)
Diffstat (limited to 'src/mir_app')
-rw-r--r-- | src/mir_app/src/clcidents.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mir_app/src/clcidents.cpp b/src/mir_app/src/clcidents.cpp index f6b720192c..07a3981371 100644 --- a/src/mir_app/src/clcidents.cpp +++ b/src/mir_app/src/clcidents.cpp @@ -108,10 +108,11 @@ MIR_APP_DLL(bool) Clist_FindItem(HWND hwnd, ClcData *dat, DWORD dwItem, ClcConta group->scanIndex++;
continue;
}
- if (nowVisible)
- index++;
ClcContact *cc = group->cl[group->scanIndex];
+ if (nowVisible && cc->type != CLCIT_GROUP)
+ index++;
+
ClcContact *res = g_clistApi.pfnFindItem(dwItem, cc);
if (res != nullptr) {
if (isVisible) {
|