mirror of
https://github.com/jarun/nnn.git
synced 2025-04-19 03:45:01 +00:00
Fix reverting filtermode on empty directory
This commit is contained in:
parent
31a273fdd0
commit
4337214f50
1 changed files with 2 additions and 1 deletions
|
@ -6908,7 +6908,8 @@ nochange:
|
|||
/* Cannot descend in empty directories */
|
||||
if (!ndents) {
|
||||
cd = FALSE;
|
||||
cfg.filtermode = g_state.selbm - 1;
|
||||
if (g_state.selbm)
|
||||
cfg.filtermode = g_state.selbm - 1;
|
||||
g_state.selbm = g_state.runplugin = 0;
|
||||
goto begin;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue