diff options
Diffstat (limited to 'commands/msg/delete.go')
-rw-r--r-- | commands/msg/delete.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/msg/delete.go b/commands/msg/delete.go index 4bda8b98..e74bf104 100644 --- a/commands/msg/delete.go +++ b/commands/msg/delete.go @@ -62,7 +62,7 @@ func (Delete) Execute(aerc *widgets.Aerc, args []string) error { // no more messages in the list if next == nil { aerc.RemoveTab(h.msgProvider) - acct.Messages().Scroll() + acct.Messages().Invalidate() return nil } lib.NewMessageStoreView(next, store, aerc.DecryptKeys, @@ -76,7 +76,7 @@ func (Delete) Execute(aerc *widgets.Aerc, args []string) error { }) } } - acct.Messages().Scroll() + acct.Messages().Invalidate() return nil } |