aerc

Working clone of aerc-mail.org
git clone git://git.danielmoch.com/aerc.git
Log | Files | Refs | README | LICENSE

commit 9e3b602ce7317c18a73d228fda7eb476b18a8988
parent 24dfc4712647008a89d930b269b085c6c3f2fb2d
Author: Drew DeVault <sir@cmpwn.com>
Date:   Fri, 15 Mar 2019 01:48:36 -0400

Fix nil dereference on rapidly cycling folders

Diffstat:
Mwidgets/dirlist.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/widgets/dirlist.go b/widgets/dirlist.go @@ -65,7 +65,7 @@ func (dirlist *DirectoryList) Select(name string) { switch msg.(type) { case *types.Error: dirlist.selecting = "" - default: + case *types.Done: dirlist.selected = dirlist.selecting } dirlist.Invalidate()