summary refs log tree commit diff stats
path: root/commands/new-account.go
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/new-account.go
parenta7341aff21d025532600384d3ab9eb3e6a4d06cd (diff)
downloadaerc-937b33c8505bc5414903bf6361cc15ea85f7f548.tar.gz
Write new accounts to config and open tab
Diffstat (limited to 'commands/new-account.go')
-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
 }
7ccd7976a5af0ecf0b5fe8'>^
1
2
3
4
5
6
7
8
9
10
11
12