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