diff options
Diffstat (limited to 'commands/msg/toggle-threads.go')
-rw-r--r-- | commands/msg/toggle-threads.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/commands/msg/toggle-threads.go b/commands/msg/toggle-threads.go index e93cb425..79d515cb 100644 --- a/commands/msg/toggle-threads.go +++ b/commands/msg/toggle-threads.go @@ -3,6 +3,7 @@ package msg import ( "errors" + "git.sr.ht/~rjarry/aerc/lib/statusline" "git.sr.ht/~rjarry/aerc/widgets" ) @@ -34,6 +35,7 @@ func (ToggleThreads) Execute(aerc *widgets.Aerc, args []string) error { return err } store.SetBuildThreads(!store.BuildThreads()) + acct.SetStatus(statusline.Threading(store.BuildThreads())) acct.Messages().Invalidate() return nil } |