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

Fix download bar close in a hidden window.

Fixes #24132.
This commit is contained in:
John Preston
2022-03-04 15:37:50 +04:00
parent 76a2ae4714
commit 8678eef9e8

View File

@@ -428,6 +428,7 @@ void Widget::setupDownloadBar() {
!rpl::mappers::_1
) | rpl::start_with_next([=] {
_downloadBar = nullptr;
updateControlsGeometry();
}, _downloadBar->lifetime());
_downloadBar->clicks(