aboutsummaryrefslogtreecommitdiffstats
path: root/commands/account
diff options
context:
space:
mode:
Diffstat (limited to 'commands/account')
-rw-r--r--commands/account/clear.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/commands/account/clear.go b/commands/account/clear.go
index 69fac2dc..5bab7109 100644
--- a/commands/account/clear.go
+++ b/commands/account/clear.go
@@ -52,9 +52,8 @@ func (Clear) Execute(aerc *widgets.Aerc, args []string) error {
if clearSelected {
defer store.Select(0)
} else {
- defer store.Reselect(store.Selected())
+ store.SetReselect(store.Selected())
}
-
store.ApplyClear()
acct.SetStatus(statusline.SearchFilterClear())