diff options
Diffstat (limited to 'plugins/Clist_modern/src/modern_clc.cpp')
-rw-r--r-- | plugins/Clist_modern/src/modern_clc.cpp | 8 |
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; } |