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

View file

@ -7259,8 +7259,12 @@ nochange:
/* Repopulate as directory content may have changed */ /* Repopulate as directory content may have changed */
goto begin; goto begin;
case SEL_UMOUNT: 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; goto nochange;
}
/* Dir removed, go to next entry */ /* Dir removed, go to next entry */
copynextname(lastname); copynextname(lastname);