diff options
Diffstat (limited to 'widgets/aerc.go')
-rw-r--r-- | widgets/aerc.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/aerc.go b/widgets/aerc.go index eba76a2..484fd88 100644 --- a/widgets/aerc.go +++ b/widgets/aerc.go @@ -56,8 +56,8 @@ func NewAerc(conf *config.AercConfig, logger *log.Logger, tabs: tabs, } - for _, acct := range conf.Accounts { - view := NewAccountView(conf, &acct, logger, aerc) + for i, acct := range conf.Accounts { + view := NewAccountView(conf, &conf.Accounts[i], logger, aerc) aerc.accounts[acct.Name] = view tabs.Add(view, acct.Name) } |