Clear filter on a manual dir relaod

This commit is contained in:
Arun Prakash Jana 2020-02-07 05:53:15 +05:30
parent 6d77b04032
commit eaba594a9e
No known key found for this signature in database
GPG key ID: A75979F35C080412

View file

@ -2225,7 +2225,8 @@ static int nextsel(int presel)
if (c == ERR && presel == MSGWAIT) if (c == ERR && presel == MSGWAIT)
c = (cfg.filtermode) ? FILTER : CONTROL('L'); c = (cfg.filtermode) ? FILTER : CONTROL('L');
else if (c == FILTER) /* Clear previous filter when manually starting */ else if (c == FILTER || c == CONTROL('L'))
/* Clear previous filter when manually starting */
clearfilter(); clearfilter();
} }