From 363aab5cc19135599cae93f6c9c7abcd23c111c9 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Fri, 5 Jul 2019 12:21:12 -0400 Subject: Make :pipe command more generic --- commands/msgview/save.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commands/msgview/save.go') diff --git a/commands/msgview/save.go b/commands/msgview/save.go index 93fa83f8..75ba56f3 100644 --- a/commands/msgview/save.go +++ b/commands/msgview/save.go @@ -56,7 +56,7 @@ func (_ Save) Execute(aerc *widgets.Aerc, args []string) error { } mv := aerc.SelectedTab().(*widgets.MessageViewer) - p := mv.CurrentPart() + p := mv.SelectedMessagePart() p.Store.FetchBodyPart(p.Msg.Uid, p.Index, func(reader io.Reader) { // email parts are encoded as 7bit (plaintext), quoted-printable, or base64 -- cgit