aboutsummaryrefslogtreecommitdiffstats
path: root/commands/msgview/save.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/msgview/save.go')
-rw-r--r--commands/msgview/save.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/msgview/save.go b/commands/msgview/save.go
index 8aedd428..f27a68c6 100644
--- a/commands/msgview/save.go
+++ b/commands/msgview/save.go
@@ -99,9 +99,9 @@ func (Save) Execute(aerc *widgets.Aerc, args []string) error {
return err
}
- mv, ok := aerc.SelectedTab().(*widgets.MessageViewer)
+ mv, ok := aerc.SelectedTabContent().(*widgets.MessageViewer)
if !ok {
- return fmt.Errorf("SelectedTab is not a MessageViewer")
+ return fmt.Errorf("SelectedTabContent is not a MessageViewer")
}
if params.attachments {