diff options
-rw-r--r-- | widgets/aerc.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/widgets/aerc.go b/widgets/aerc.go index 8eec8823..b946b158 100644 --- a/widgets/aerc.go +++ b/widgets/aerc.go @@ -733,6 +733,9 @@ func (aerc *Aerc) Mailto(addr *url.URL) error { return errors.New("No account selected") } + defer ui.Invalidate() + defer ui.QueueRedraw() + composer, err := NewComposer(aerc, acct, acct.AccountConfig(), acct.Worker(), "", h, nil) if err != nil { @@ -773,6 +776,9 @@ func (aerc *Aerc) Mbox(source string) error { acctConf.Postpone = "Drafts" acctConf.CopyTo = "Sent" + defer ui.Invalidate() + defer ui.QueueRedraw() + mboxView, err := NewAccountView(aerc, &acctConf, aerc, nil) if err != nil { aerc.NewTab(errorScreen(err.Error()), acctConf.Name) |