Fix activation of wrong tab after new window.

This commit is contained in:
John Preston 2025-06-05 13:00:14 +04:00
parent e9e187c58b
commit f9acb5d19b

View file

@ -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;