1
0
mirror of https://git.sr.ht/~sircmpwn/aerc synced 2024-11-24 00:52:29 +01:00

Fix nil dereference on rapidly cycling folders

This commit is contained in:
Drew DeVault 2019-03-15 01:48:36 -04:00
parent 24dfc47126
commit 9e3b602ce7

@ -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()