Clear lastname is the top file is deleted

This commit is contained in:
Arun Prakash Jana 2020-01-17 20:26:14 +05:30
parent 679374680f
commit 5f18a0892c
No known key found for this signature in database
GPG Key ID: A75979F35C080412
1 changed files with 2 additions and 1 deletions

View File

@ -5279,7 +5279,8 @@ nochange:
if (cur && access(newpath, F_OK) == -1) {
move_cursor(cur - 1, 0);
copycurname();
}
} else
lastname[0] = '\0';
if (cfg.filtermode)
presel = FILTER;