From 2a0430ab90bdcb03d3f3243945280f29642faab0 Mon Sep 17 00:00:00 2001 From: Jeffas Date: Sat, 29 Feb 2020 01:53:32 +0000 Subject: Set the store on the message list if it is nil --- widgets/account.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/widgets/account.go b/widgets/account.go index 8f94e92..a854fb6 100644 --- a/widgets/account.go +++ b/widgets/account.go @@ -255,6 +255,9 @@ func (acct *AccountView) onMessage(msg types.WorkerMessage) { } case *types.DirectoryContents: if store, ok := acct.dirlist.SelectedMsgStore(); ok { + if acct.msglist.Store() == nil { + acct.msglist.SetStore(store) + } store.Update(msg) } case *types.FullMessage: -- cgit 1.4.1-2-gfad0