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

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;