diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-17 17:43:21 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-17 17:43:21 +0300 |
commit | caf290fb9b71267941a5d19a63dde6e8e93fab9e (patch) | |
tree | 5469e6a9794a40ede1fe7f5d2af7d53c3f388b06 /plugins/Clist_modern/src/modern_clc.cpp | |
parent | a134962a8ac19a0013e9dec8d747eca455525946 (diff) |
no need to rebuild the whole clist if the search window is empty
Diffstat (limited to 'plugins/Clist_modern/src/modern_clc.cpp')
-rw-r--r-- | plugins/Clist_modern/src/modern_clc.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/Clist_modern/src/modern_clc.cpp b/plugins/Clist_modern/src/modern_clc.cpp index 39236d404a..e2bf1a11ed 100644 --- a/plugins/Clist_modern/src/modern_clc.cpp +++ b/plugins/Clist_modern/src/modern_clc.cpp @@ -449,9 +449,7 @@ static LRESULT clcOnKeyDown(ClcData *dat, HWND hwnd, UINT, WPARAM wParam, LPARAM case VK_RETURN:
pcli->pfnDoSelectionDefaultAction(hwnd, dat);
SetCapture(hwnd);
- dat->szQuickSearch[0] = 0;
- if (dat->bFilterSearch)
- pcli->pfnSaveStateAndRebuildList(hwnd, dat);
+ Clist_ClearSearch(hwnd, dat);
return 0;
case VK_F2: cliBeginRenameSelection(hwnd, dat); /*SetCapture(hwnd);*/ return 0;
|