Clear panes on re-connecting

This commit is contained in:
Christian Muehlhaeuser 2019-05-15 05:03:15 +02:00
parent 0b74850538
commit 617a10be04
No known key found for this signature in database
GPG key ID: 3CF9FA45CA1EBB7E

View file

@ -262,6 +262,7 @@ func setupMastodon(config Account) {
// Notifications model must the first model to be added
// It will always be displayed right-most
paneModel.clear()
{
var pane = NewPane(nil)
pane.Name = "Notifications"