diff options
Diffstat (limited to 'commands/compose/encrypt.go')
-rw-r--r-- | commands/compose/encrypt.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/compose/encrypt.go b/commands/compose/encrypt.go index 3bd8ca42..905bdc4b 100644 --- a/commands/compose/encrypt.go +++ b/commands/compose/encrypt.go @@ -25,7 +25,7 @@ func (Encrypt) Execute(aerc *widgets.Aerc, args []string) error { return errors.New("Usage: encrypt") } - composer, _ := aerc.SelectedTab().(*widgets.Composer) + composer, _ := aerc.SelectedTabContent().(*widgets.Composer) composer.SetEncrypt(!composer.Encrypt()) return nil |