summaryrefslogtreecommitdiff
path: root/commands/msg/reply.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/msg/reply.go')
-rw-r--r--commands/msg/reply.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/msg/reply.go b/commands/msg/reply.go
index 30b09b6..a1254a1 100644
--- a/commands/msg/reply.go
+++ b/commands/msg/reply.go
@@ -55,7 +55,7 @@ func (reply) Execute(aerc *widgets.Aerc, args []string) error {
}
}
- widget := aerc.SelectedTab().(widgets.ProvidesMessage)
+ widget := aerc.SelectedTabContent().(widgets.ProvidesMessage)
acct := widget.SelectedAccount()
if acct == nil {