aboutsummaryrefslogtreecommitdiffstats
path: root/commands/compose/sign.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/compose/sign.go')
-rw-r--r--commands/compose/sign.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/compose/sign.go b/commands/compose/sign.go
index 635b07c6..e6afd98e 100644
--- a/commands/compose/sign.go
+++ b/commands/compose/sign.go
@@ -26,7 +26,7 @@ func (Sign) Execute(aerc *widgets.Aerc, args []string) error {
return errors.New("Usage: sign")
}
- composer, _ := aerc.SelectedTab().(*widgets.Composer)
+ composer, _ := aerc.SelectedTabContent().(*widgets.Composer)
err := composer.SetSign(!composer.Sign())
if err != nil {