summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2013-06-23 23:55:57 +0000
committerRobert Pösel <robyer@seznam.cz>2013-06-23 23:55:57 +0000
commitabd0af79f29cf7d53e84ac6a57522e3a8c1aa5b7 (patch)
treed135623b66edc3a8d81a6e00200c392a4cf65f73
parent01b7a72d43ed1c71544c22c7afb61829762ffe8e (diff)
Clist Modern: Fixed "show contact even if offline" when he is in group with enabled "hide offline contacts here" and global setting "hide offline contacts" is disabled
git-svn-id: http://svn.miranda-ng.org/main/trunk@5105 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--plugins/Clist_modern/src/modern_clc.cpp2
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 850f6e5df5..25f1253c44 100644
--- a/plugins/Clist_modern/src/modern_clc.cpp
+++ b/plugins/Clist_modern/src/modern_clc.cpp
@@ -1550,7 +1550,7 @@ static LRESULT clcOnIntmIconChanged(ClcData *dat, HWND hwnd, UINT msg, WPARAM wP
//item in list already
if (contact->iImage == lParam)
return 0;
- if ( !shouldShow && !(style & CLS_NOHIDEOFFLINE) && (style & CLS_HIDEOFFLINE) && clcItemNotHiddenOffline(dat, group, contact))
+ if ( !shouldShow && !(style & CLS_NOHIDEOFFLINE) && (style & CLS_HIDEOFFLINE || group->hideOffline) && clcItemNotHiddenOffline(dat, group, contact))
shouldShow = TRUE;
if ( !shouldShow && !(style & CLS_NOHIDEOFFLINE) && ((style & CLS_HIDEOFFLINE) || group->hideOffline || g_CluiData.bFilterEffective)) { // CLVM changed