aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--widgets/account.go3
1 files changed, 3 insertions, 0 deletions
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: