mirror of
https://github.com/jarun/nnn.git
synced 2025-01-26 02:36:36 +00:00
Do not apply filter if directory is empty
This commit is contained in:
parent
8af773eb0d
commit
d40dbfd69a
|
@ -6868,6 +6868,8 @@ nochange:
|
||||||
printwait(mark, &presel);
|
printwait(mark, &presel);
|
||||||
goto nochange;
|
goto nochange;
|
||||||
case SEL_FLTR:
|
case SEL_FLTR:
|
||||||
|
if (!ndents)
|
||||||
|
goto nochange;
|
||||||
/* Unwatch dir if we are still in a filtered view */
|
/* Unwatch dir if we are still in a filtered view */
|
||||||
#ifdef LINUX_INOTIFY
|
#ifdef LINUX_INOTIFY
|
||||||
if (inotify_wd >= 0) {
|
if (inotify_wd >= 0) {
|
||||||
|
|
Loading…
Reference in a new issue