mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
Start watching dir if filter mode is disabled
This commit is contained in:
parent
02754205a2
commit
2d952795a8
|
@ -5534,7 +5534,11 @@ nochange:
|
||||||
|
|
||||||
/* Start watching the directory */
|
/* Start watching the directory */
|
||||||
dir_changed = TRUE;
|
dir_changed = TRUE;
|
||||||
break;
|
|
||||||
|
/* Save current */
|
||||||
|
if (ndents)
|
||||||
|
copycurname();
|
||||||
|
goto begin;
|
||||||
case SEL_HIDDEN:
|
case SEL_HIDDEN:
|
||||||
cfg.showhidden ^= 1;
|
cfg.showhidden ^= 1;
|
||||||
if (ndents)
|
if (ndents)
|
||||||
|
@ -5568,7 +5572,6 @@ nochange:
|
||||||
if (!g_ctx[cfg.curctx].c_fltr[1])
|
if (!g_ctx[cfg.curctx].c_fltr[1])
|
||||||
goto begin;
|
goto begin;
|
||||||
|
|
||||||
presel = FILTER; /* If there's a filter, apply it */
|
|
||||||
break;
|
break;
|
||||||
case SEL_STATS: // fallthrough
|
case SEL_STATS: // fallthrough
|
||||||
case SEL_CHMODX:
|
case SEL_CHMODX:
|
||||||
|
|
Loading…
Reference in a new issue