summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_clc.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-10-30 16:41:09 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-10-30 16:41:09 +0000
commit211967c3ae7d510f2e63aac7fe912d040ad1ebc3 (patch)
treea65d43fbe91878ecc3008da5996e6e43faee257b /plugins/Clist_modern/src/modern_clc.cpp
parente57ba22d8dd05efc14197c764daed53e61a59636 (diff)
old unused code that belongs to StdClist moved from the core to plugin
git-svn-id: http://svn.miranda-ng.org/main/trunk@15652 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_clc.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_clc.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/plugins/Clist_modern/src/modern_clc.cpp b/plugins/Clist_modern/src/modern_clc.cpp
index 260b131276..e5c067e482 100644
--- a/plugins/Clist_modern/src/modern_clc.cpp
+++ b/plugins/Clist_modern/src/modern_clc.cpp
@@ -1500,9 +1500,8 @@ static LRESULT clcOnIntmNameChanged(ClcData *dat, HWND hwnd, UINT msg, WPARAM wP
Cache_GetText(dat, contact, 1);
cliRecalcScrollBar(hwnd, dat);
}
- dat->needsResort = 1;
- pcli->pfnSortContacts();
+ dat->needsResort = 1;
return ret;
}
@@ -1584,10 +1583,9 @@ static LRESULT clcOnIntmStatusChanged(ClcData *dat, HWND hwnd, UINT msg, WPARAM
if (db_get_b(NULL, "CList", "PlaceOfflineToRoot", SETTING_PLACEOOFLINETOROOT_DEFAULT))
pcli->pfnInitAutoRebuild(hwnd);
- else {
- pcli->pfnSortContacts();
+ else
PostMessage(hwnd, INTM_INVALIDATE, 0, 0);
- }
+
return ret;
}