Write new accounts to config and open tab
This commit is contained in:
parent
a7341aff21
commit
937b33c850
2 changed files with 140 additions and 8 deletions
commands
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue