diff options
Diffstat (limited to 'commands/compose/abort.go')
-rw-r--r-- | commands/compose/abort.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/compose/abort.go b/commands/compose/abort.go index d4a4699e..44711eb3 100644 --- a/commands/compose/abort.go +++ b/commands/compose/abort.go @@ -24,7 +24,7 @@ func (Abort) Execute(aerc *widgets.Aerc, args []string) error { if len(args) != 1 { return errors.New("Usage: abort") } - composer, _ := aerc.SelectedTab().(*widgets.Composer) + composer, _ := aerc.SelectedTabContent().(*widgets.Composer) aerc.RemoveTab(composer) composer.Close() |