Sort order not changing in nav-as-you-type mode

This commit is contained in:
Arun Prakash Jana 2020-01-13 01:22:51 +05:30
parent ab521c02a4
commit 16c88770b6
No known key found for this signature in database
GPG key ID: A75979F35C080412

View file

@ -5037,15 +5037,19 @@ nochange:
break;
}
if (cfg.filtermode)
presel = FILTER;
/* Save current */
if (ndents)
copycurname();
if (cfg.filtermode || g_ctx[cfg.curctx].c_fltr[1]) {
presel = FILTER;
break;
}
/* If there's no filter, reload the directory */
if (!g_ctx[cfg.curctx].c_fltr[1])
goto begin;
presel = FILTER; /* If there's a filter, apply it */
break;
case SEL_STATS: // fallthrough
case SEL_CHMODX:
if (ndents) {