diff options
Diffstat (limited to 'widgets/account.go')
-rw-r--r-- | widgets/account.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/widgets/account.go b/widgets/account.go index a99f7a48..e28804de 100644 --- a/widgets/account.go +++ b/widgets/account.go @@ -95,6 +95,11 @@ func NewAccountView( view.msglist = NewMessageList(aerc, view) view.grid.AddChild(view.msglist).At(0, 1) + view.dirlist.OnVirtualNode(func() { + view.msglist.SetStore(nil) + view.Invalidate() + }) + go func() { defer log.PanicHandler() |