From db15a58dde6e3feecd9c74a0430015d677f6bf7b Mon Sep 17 00:00:00 2001 From: John Preston Date: Wed, 22 Jun 2022 16:42:46 +0400 Subject: [PATCH] Fix separate windows with audio player. Fixes https://bugs.telegram.org/c/18154 --- Telegram/SourceFiles/mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Telegram/SourceFiles/mainwindow.cpp b/Telegram/SourceFiles/mainwindow.cpp index 003a8143d..30f59c48f 100644 --- a/Telegram/SourceFiles/mainwindow.cpp +++ b/Telegram/SourceFiles/mainwindow.cpp @@ -280,6 +280,7 @@ void MainWindow::setupMain(MsgId singlePeerShowAtMsgId) { clearWidgets(); _main = std::move(created); if (const auto peer = singlePeer()) { + updateControlsGeometry(); _main->controller()->showPeerHistory( peer, Window::SectionShow::Way::ClearStack,