mirror of
https://github.com/jarun/nnn.git
synced 2025-01-16 05:46:40 +00:00
Fix reverting filtermode on empty directory
This commit is contained in:
parent
31a273fdd0
commit
4337214f50
|
@ -6908,7 +6908,8 @@ nochange:
|
||||||
/* Cannot descend in empty directories */
|
/* Cannot descend in empty directories */
|
||||||
if (!ndents) {
|
if (!ndents) {
|
||||||
cd = FALSE;
|
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;
|
g_state.selbm = g_state.runplugin = 0;
|
||||||
goto begin;
|
goto begin;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue