summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mir_app/src/clistmod.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mir_app/src/clistmod.cpp b/src/mir_app/src/clistmod.cpp
index 8dd4488972..f7e1cd7c0e 100644
--- a/src/mir_app/src/clistmod.cpp
+++ b/src/mir_app/src/clistmod.cpp
@@ -169,12 +169,12 @@ static int ContactListAccountsChanged(WPARAM eventCode, LPARAM lParam)
switch (eventCode) {
case PRAC_ADDED:
- AddProtoIconIndex(pa);
+ if (pa->iIconBase == -1)
+ AddProtoIconIndex(pa);
break;
case PRAC_REMOVED:
InvalidateProtoInCache(pa->szModuleName);
- pa->iIconBase = -1;
break;
}