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