Restore statusbar after unmounting remote/archive

This commit is contained in:
Arun Prakash Jana 2021-06-19 17:23:28 +05:30
parent d5359f0455
commit 8f3785f2e5
No known key found for this signature in database
GPG Key ID: A75979F35C080412
1 changed files with 5 additions and 1 deletions

View File

@ -7259,8 +7259,12 @@ nochange:
/* Repopulate as directory content may have changed */
goto begin;
case SEL_UMOUNT:
if (!unmount((ndents ? pdents[cur].name : NULL), newpath, &presel, path))
presel = MSG_ZERO;
if (!unmount((ndents ? pdents[cur].name : NULL), newpath, &presel, path)) {
if (presel == MSG_ZERO)
statusbar(path);
goto nochange;
}
/* Dir removed, go to next entry */
copynextname(lastname);