Fix download bar appearing after account switch.

This commit is contained in:
John Preston 2022-03-09 16:02:27 +04:00
parent 602e7a7164
commit e84ebc2a5c

View file

@ -7647,6 +7647,8 @@ HistoryWidget::~HistoryWidget() {
saveFieldToHistoryLocalDraft();
session().api().saveDraftToCloudDelayed(_history);
setHistory(nullptr);
session().data().itemVisibilitiesUpdated();
}
setTabbedPanel(nullptr);
}