diff options
Diffstat (limited to 'commands/msgview/close.go')
-rw-r--r-- | commands/msgview/close.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/commands/msgview/close.go b/commands/msgview/close.go index 1fed0b7c..5e4f3e92 100644 --- a/commands/msgview/close.go +++ b/commands/msgview/close.go @@ -25,7 +25,6 @@ func (Close) Execute(aerc *widgets.Aerc, args []string) error { return errors.New("Usage: close") } mv, _ := aerc.SelectedTabContent().(*widgets.MessageViewer) - mv.Close() - aerc.RemoveTab(mv) + aerc.RemoveTab(mv, true) return nil } |