Browse Source
Restore filter on context switch in non nav-as-you-type mode
master
Arun Prakash Jana
4 years ago
No known key found for this signature in database
GPG Key ID: A75979F35C080412
1 changed files with
6 additions and
1 deletions
-
src/nnn.c
|
|
@@ -5381,8 +5381,13 @@ nochange: |
|
|
|
path = g_ctx[r].c_path; |
|
|
|
lastdir = g_ctx[r].c_last; |
|
|
|
lastname = g_ctx[r].c_name; |
|
|
|
tmp = g_ctx[r].c_fltr; |
|
|
|
|
|
|
|
if (cfg.filtermode || ((tmp[0] == FILTER || tmp[0] == RFILTER) && tmp[1])) |
|
|
|
presel = FILTER; |
|
|
|
else |
|
|
|
dir_changed = TRUE; |
|
|
|
|
|
|
|
setdirwatch(); |
|
|
|
goto begin; |
|
|
|
case SEL_PIN: |
|
|
|
free(mark); |
|
|
|