Commit 5e6bf4d5542955acc60279225b8b489f27a6d86a
Fix ui:ui_view_reset_search_highlight()
The function was not complete, it's supposed to drop `search_match`
flags from all entries as well which is done by
`reset_search_results()` (also does `view->matches = 0`).
Author: xaizek
Author date (UTC): 2026-04-08 10:36
Committer name: xaizek
Committer date (UTC): 2026-04-11 13:28
Parent(s): c8bbddb23a03955cec45d88e8e29e6e6b8e7e926
Signing key: 99DC5E4DB05F6BE2
Tree: aa61c60cf710c0134f035bcd2c4959569b503fae
| File src/ui/ui.c changed (mode: 100644) (index 5113412a2..664f851fa) |
| 69 |
69 |
#include "../flist_sel.h" |
#include "../flist_sel.h" |
| 70 |
70 |
#include "../macros.h" |
#include "../macros.h" |
| 71 |
71 |
#include "../opt_handlers.h" |
#include "../opt_handlers.h" |
|
72 |
|
#include "../search.h" |
| 72 |
73 |
#include "../sort.h" |
#include "../sort.h" |
| 73 |
74 |
#include "../status.h" |
#include "../status.h" |
| 74 |
75 |
#include "../vifm.h" |
#include "../vifm.h" |
| |
| ... |
... |
ui_view_reset_search_highlight(view_t *view) |
| 2159 |
2160 |
{ |
{ |
| 2160 |
2161 |
if(view->matches != 0) |
if(view->matches != 0) |
| 2161 |
2162 |
{ |
{ |
| 2162 |
|
view->matches = 0; |
|
|
2163 |
|
reset_search_results(view); |
| 2163 |
2164 |
ui_view_schedule_redraw(view); |
ui_view_schedule_redraw(view); |
| 2164 |
2165 |
} |
} |
| 2165 |
2166 |
} |
} |