aboutsummaryrefslogtreecommitdiffstats
path: root/commands/compose/postpone.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/compose/postpone.go')
-rw-r--r--commands/compose/postpone.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/compose/postpone.go b/commands/compose/postpone.go
index f826f681..e1c0568b 100644
--- a/commands/compose/postpone.go
+++ b/commands/compose/postpone.go
@@ -35,7 +35,7 @@ func (Postpone) Execute(aerc *widgets.Aerc, args []string) error {
if acct == nil {
return errors.New("No account selected")
}
- composer, _ := aerc.SelectedTab().(*widgets.Composer)
+ composer, _ := aerc.SelectedTabContent().(*widgets.Composer)
config := composer.Config()
tabName := aerc.TabNames()[aerc.SelectedTabIndex()]