aboutsummaryrefslogtreecommitdiffstats
path: root/commands/compose/attach-key.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/compose/attach-key.go')
-rw-r--r--commands/compose/attach-key.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/commands/compose/attach-key.go b/commands/compose/attach-key.go
index c12df446..c9212e3d 100644
--- a/commands/compose/attach-key.go
+++ b/commands/compose/attach-key.go
@@ -27,6 +27,5 @@ func (AttachKey) Execute(aerc *widgets.Aerc, args []string) error {
composer, _ := aerc.SelectedTab().(*widgets.Composer)
- composer.SetAttachKey(!composer.AttachKey())
- return nil
+ return composer.SetAttachKey(!composer.AttachKey())
}