aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'widgets')
-rw-r--r--widgets/account.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/widgets/account.go b/widgets/account.go
index 47bc9924..982d75f8 100644
--- a/widgets/account.go
+++ b/widgets/account.go
@@ -540,6 +540,7 @@ func (acct *AccountView) updateSplitView(msg *models.MessageInfo) {
}
fn := func() {
if acct.split != nil {
+ acct.grid.RemoveChild(acct.split)
acct.split.Close()
}
lib.NewMessageStoreView(msg, false, acct.Store(), acct.aerc.Crypto, acct.aerc.DecryptKeys,