about summary refs log tree commit diff stats
path: root/commands
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-05-22 10:40:08 -0400
committerDrew DeVault <sir@cmpwn.com>2019-05-22 10:40:08 -0400
commit937b33c8505bc5414903bf6361cc15ea85f7f548 (patch)
tree9bb653894b1dc85b333bec9bfe4f19b22a9415cf /commands
parenta7341aff21d025532600384d3ab9eb3e6a4d06cd (diff)
downloadaerc-937b33c8505bc5414903bf6361cc15ea85f7f548.tar.gz
Write new accounts to config and open tab
Diffstat (limited to 'commands')
-rw-r--r--commands/new-account.go2
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
 }