2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Close call panel instead of hiding.

This commit is contained in:
John Preston
2020-08-14 19:59:24 +04:00
parent 34840766b2
commit a0eb073728
5 changed files with 13 additions and 15 deletions

View File

@@ -691,8 +691,8 @@ void Panel::showControls() {
}
}
void Panel::hideBeforeDestroy() {
_window->hide();
void Panel::closeBeforeDestroy() {
_window->close();
reinitWithCall(nullptr);
}