diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-05-22 10:40:08 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-05-22 10:40:08 -0400 |
commit | 937b33c8505bc5414903bf6361cc15ea85f7f548 (patch) | |
tree | 9bb653894b1dc85b333bec9bfe4f19b22a9415cf /commands | |
parent | a7341aff21d025532600384d3ab9eb3e6a4d06cd (diff) | |
download | aerc-937b33c8505bc5414903bf6361cc15ea85f7f548.tar.gz |
Write new accounts to config and open tab
Diffstat (limited to 'commands')
-rw-r--r-- | commands/new-account.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/new-account.go b/commands/new-account.go index 6a64eb2..3d6551f 100644 --- a/commands/new-account.go +++ b/commands/new-account.go @@ -14,7 +14,7 @@ func CommandNewAccount(aerc *widgets.Aerc, args []string) error { if len(args) != 1 { return errors.New("Usage: new-account") } - wizard := widgets.NewAccountWizard() + wizard := widgets.NewAccountWizard(aerc.Config(), aerc) aerc.NewTab(wizard, "New account") return nil } |