mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
Sort order not changing in nav-as-you-type mode
This commit is contained in:
parent
ab521c02a4
commit
16c88770b6
14
src/nnn.c
14
src/nnn.c
|
@ -5037,15 +5037,19 @@ nochange:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (cfg.filtermode)
|
||||||
|
presel = FILTER;
|
||||||
|
|
||||||
/* Save current */
|
/* Save current */
|
||||||
if (ndents)
|
if (ndents)
|
||||||
copycurname();
|
copycurname();
|
||||||
|
|
||||||
if (cfg.filtermode || g_ctx[cfg.curctx].c_fltr[1]) {
|
/* If there's no filter, reload the directory */
|
||||||
presel = FILTER;
|
if (!g_ctx[cfg.curctx].c_fltr[1])
|
||||||
break;
|
goto begin;
|
||||||
}
|
|
||||||
goto begin;
|
presel = FILTER; /* If there's a filter, apply it */
|
||||||
|
break;
|
||||||
case SEL_STATS: // fallthrough
|
case SEL_STATS: // fallthrough
|
||||||
case SEL_CHMODX:
|
case SEL_CHMODX:
|
||||||
if (ndents) {
|
if (ndents) {
|
||||||
|
|
Loading…
Reference in a new issue