diff options
Diffstat (limited to 'commands/account/clear.go')
-rw-r--r-- | commands/account/clear.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/commands/account/clear.go b/commands/account/clear.go index 259a9de8..64e70122 100644 --- a/commands/account/clear.go +++ b/commands/account/clear.go @@ -3,6 +3,7 @@ package account import ( "errors" + "git.sr.ht/~rjarry/aerc/lib/statusline" "git.sr.ht/~rjarry/aerc/widgets" ) @@ -30,6 +31,7 @@ func (Clear) Execute(aerc *widgets.Aerc, args []string) error { return errors.New("Cannot perform action. Messages still loading") } store.ApplyClear() - aerc.ClearExtraStatus() + acct.SetStatus(statusline.SearchFilterClear()) + return nil } |