Restore hovered file name on select and run plugin

This commit is contained in:
Arun Prakash Jana 2021-05-28 23:31:20 +05:30
parent b397606d0a
commit f6b14f6505
No known key found for this signature in database
GPG Key ID: A75979F35C080412
1 changed files with 3 additions and 1 deletions

View File

@ -6432,8 +6432,10 @@ nochange:
if (g_state.picked)
return EXIT_SUCCESS;
if (runfile[0])
if (runfile[0]) {
xstrsncpy(lastname, runfile, NAME_MAX + 1);
runfile[0] = '\0';
}
clearfilter();
setdirwatch();
goto begin;