aboutsummaryrefslogtreecommitdiffstats
path: root/src/nnn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nnn.c')
-rw-r--r--src/nnn.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 946ffd4..cb4112d 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -4741,14 +4741,12 @@ nochange:
xrm(newpath);
/* Don't optimize cur if filtering is on */
- if (!cfg.filtermode && cur && access(newpath, F_OK) == -1)
+ if (cur && access(newpath, F_OK) == -1)
move_cursor(cur - 1, 0);
/* We reduce cur only if it is > 0, so it's at least 0 */
copycurname();
- if (cfg.filtermode)
- presel = FILTER;
goto begin;
}
case SEL_ARCHIVE: // fallthrough