aboutsummaryrefslogtreecommitdiffstats
path: root/commands/compose/next-field.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/compose/next-field.go')
-rw-r--r--commands/compose/next-field.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/compose/next-field.go b/commands/compose/next-field.go
index 69b33e55..ec4db582 100644
--- a/commands/compose/next-field.go
+++ b/commands/compose/next-field.go
@@ -24,7 +24,7 @@ func (NextPrevField) Execute(aerc *widgets.Aerc, args []string) error {
if len(args) > 2 {
return nextPrevFieldUsage(args[0])
}
- composer, _ := aerc.SelectedTab().(*widgets.Composer)
+ composer, _ := aerc.SelectedTabContent().(*widgets.Composer)
if args[0] == "prev-field" {
composer.PrevField()
} else {