diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2020-01-07 18:28:30 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2020-01-07 18:28:30 +0530 |
commit | e4b762dcc10d3b63f907b817ab9a87be2bb6f7c7 (patch) | |
tree | 568a61948f42c431125c3dd88a9d0cc2a3ccacdd /src | |
parent | 9d9aa161856aa5aee45959b0cd16f0fb590bbc11 (diff) | |
download | nnn-e4b762dcc10d3b63f907b817ab9a87be2bb6f7c7.tar.gz |
Retain filter on single file removal
Diffstat (limited to 'src')
-rw-r--r-- | src/nnn.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -5071,14 +5071,14 @@ nochange: mkpath(path, dents[cur].name, newpath); xrm(newpath); - /* Don't optimize cur if filtering is on */ 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(); - clearfilter(); + if (cfg.filtermode) + presel = FILTER; goto begin; } |