mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-09-08 13:03:34 +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;
|
const auto thread = _slice[active].thread;
|
||||||
if (newWindow) {
|
if (newWindow) {
|
||||||
_controller->showInNewWindow(Window::SeparateId(thread));
|
_controller->showInNewWindow(Window::SeparateId(thread));
|
||||||
|
_refreshed.fire({}); // This should activate current section.
|
||||||
} else {
|
} else {
|
||||||
auto params = Window::SectionShow();
|
auto params = Window::SectionShow();
|
||||||
params.way = Window::SectionShow::Way::ClearStack;
|
params.way = Window::SectionShow::Way::ClearStack;
|
||||||
|
|
Loading…
Add table
Reference in a new issue