mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Fix activation of wrong tab after new window.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user