diff options
Diffstat (limited to 'commands')
-rw-r--r-- | commands/msg/delete.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/msg/delete.go b/commands/msg/delete.go index 677ea63..8fefbd5 100644 --- a/commands/msg/delete.go +++ b/commands/msg/delete.go @@ -47,7 +47,7 @@ func (Delete) Execute(aerc *widgets.Aerc, args []string) error { store.Next() if isMsgView { nextMsg := store.Selected() - if nextMsg == msg { + if nextMsg == msg || !aerc.Config().Ui.NextMessageOnDelete { aerc.RemoveTab(widget) acct.Messages().Scroll() } else { |