2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-01 15:05:56 +00:00

Alpha version 0.10.22: critical bug fixes.

This commit is contained in:
John Preston
2016-12-31 17:34:41 +04:00
parent bc0c355d2d
commit 218f991547
42 changed files with 634 additions and 212 deletions

View File

@@ -212,6 +212,7 @@ QWidget *MainWindow::filedialogParent() {
}
void MainWindow::clearWidgets() {
auto wasMain = (_main != nullptr);
Ui::hideLayer(true);
_passcode.destroyDelayed();
_main.destroy();
@@ -220,7 +221,9 @@ void MainWindow::clearWidgets() {
hideMediaview();
_mediaView->rpcClear();
}
App::clearHistories();
if (wasMain) {
App::clearHistories();
}
updateGlobalMenu();
}