mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-07-23 06:02:49 +02:00
Fix activation of wrong tab after new window.
This commit is contained in:
parent
e9e187c58b
commit
f9acb5d19b
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue