summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mir_app/src/clcitems.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mir_app/src/clcitems.cpp b/src/mir_app/src/clcitems.cpp
index a50bc7170e..72df88ccc5 100644
--- a/src/mir_app/src/clcitems.cpp
+++ b/src/mir_app/src/clcitems.cpp
@@ -308,6 +308,7 @@ MIR_APP_DLL(void) Clist_DeleteItemFromTree(HWND hwnd, MCONTACT hItem)
if (Clist_FindItem(hwnd, dat, hItem, &contact, &group)) {
Clist_RemoveItemFromGroup(hwnd, group, contact, 1);
contact->pce = nullptr;
+ return;
}
// if we don't have this contact, simply try to update the number of contacts in a group