aboutsummaryrefslogtreecommitdiffstats
path: root/commands/compose/abort.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/compose/abort.go')
-rw-r--r--commands/compose/abort.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/commands/compose/abort.go b/commands/compose/abort.go
index 44711eb3..d6a81b57 100644
--- a/commands/compose/abort.go
+++ b/commands/compose/abort.go
@@ -26,8 +26,7 @@ func (Abort) Execute(aerc *widgets.Aerc, args []string) error {
}
composer, _ := aerc.SelectedTabContent().(*widgets.Composer)
- aerc.RemoveTab(composer)
- composer.Close()
+ aerc.RemoveTab(composer, true)
return nil
}