diff options
Diffstat (limited to 'commands/msgview/next.go')
-rw-r--r-- | commands/msgview/next.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/msgview/next.go b/commands/msgview/next.go index 928b9fbc..c80e0ab6 100644 --- a/commands/msgview/next.go +++ b/commands/msgview/next.go @@ -27,7 +27,7 @@ func (NextPrevMsg) Execute(aerc *widgets.Aerc, args []string) error { if err != nil { return err } - mv, _ := aerc.SelectedTab().(*widgets.MessageViewer) + mv, _ := aerc.SelectedTabContent().(*widgets.MessageViewer) acct := mv.SelectedAccount() if acct == nil { return errors.New("No account selected") |