mirror of
https://github.com/jarun/nnn.git
synced 2024-12-01 02:49:44 +00:00
Restore filter on context switch in non nav-as-you-type mode
This commit is contained in:
parent
7aa72ddd79
commit
f0f8008014
|
@ -5381,8 +5381,13 @@ nochange:
|
||||||
path = g_ctx[r].c_path;
|
path = g_ctx[r].c_path;
|
||||||
lastdir = g_ctx[r].c_last;
|
lastdir = g_ctx[r].c_last;
|
||||||
lastname = g_ctx[r].c_name;
|
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;
|
goto begin;
|
||||||
case SEL_PIN:
|
case SEL_PIN:
|
||||||
free(mark);
|
free(mark);
|
||||||
|
|
Loading…
Reference in a new issue