Retain filter on single file removal

This commit is contained in:
Arun Prakash Jana 2020-01-07 18:28:30 +05:30
parent 9d9aa16185
commit e4b762dcc1
No known key found for this signature in database
GPG Key ID: A75979F35C080412
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}