aboutsummaryrefslogtreecommitdiffstats
path: root/commands/msg/pipe.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/msg/pipe.go')
-rw-r--r--commands/msg/pipe.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/msg/pipe.go b/commands/msg/pipe.go
index cab109e0..35ee05bc 100644
--- a/commands/msg/pipe.go
+++ b/commands/msg/pipe.go
@@ -63,7 +63,7 @@ func (Pipe) Execute(aerc *widgets.Aerc, args []string) error {
return errors.New("Usage: pipe [-mp] <cmd> [args...]")
}
- provider := aerc.SelectedTab().(widgets.ProvidesMessage)
+ provider := aerc.SelectedTabContent().(widgets.ProvidesMessage)
if !pipeFull && !pipePart {
if _, ok := provider.(*widgets.MessageViewer); ok {
pipePart = true