diff options
Diffstat (limited to 'widgets/aerc.go')
-rw-r--r-- | widgets/aerc.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/aerc.go b/widgets/aerc.go index 3cf1f647..050ba77b 100644 --- a/widgets/aerc.go +++ b/widgets/aerc.go @@ -353,7 +353,7 @@ func (aerc *Aerc) Mailto(addr *url.URL) error { } } composer := NewComposer(aerc.Config(), - acct.AccountConfig(), acct.Worker()).Defaults(defaults) + acct.AccountConfig(), acct.Worker(), defaults) composer.FocusSubject() title := "New email" if subj, ok := defaults["Subject"]; ok { @@ -361,7 +361,7 @@ func (aerc *Aerc) Mailto(addr *url.URL) error { composer.FocusTerminal() } tab := aerc.NewTab(composer, title) - composer.OnSubjectChange(func(subject string) { + composer.OnHeaderChange("Subject", func(subject string) { if subject == "" { tab.Name = "New email" } else { |