From f9acb5d19bb1b6226f7f22cd7940a92ea6abaa5d Mon Sep 17 00:00:00 2001 From: John Preston Date: Thu, 5 Jun 2025 13:00:14 +0400 Subject: [PATCH] Fix activation of wrong tab after new window. --- .../SourceFiles/history/view/history_view_subsection_tabs.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Telegram/SourceFiles/history/view/history_view_subsection_tabs.cpp b/Telegram/SourceFiles/history/view/history_view_subsection_tabs.cpp index 9fc513c011..6c5187c781 100644 --- a/Telegram/SourceFiles/history/view/history_view_subsection_tabs.cpp +++ b/Telegram/SourceFiles/history/view/history_view_subsection_tabs.cpp @@ -218,6 +218,7 @@ void SubsectionTabs::setupSlider( const auto thread = _slice[active].thread; if (newWindow) { _controller->showInNewWindow(Window::SeparateId(thread)); + _refreshed.fire({}); // This should activate current section. } else { auto params = Window::SectionShow(); params.way = Window::SectionShow::Way::ClearStack;