mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Fix glitch in new forum layout opening.
This commit is contained in:
@@ -872,7 +872,8 @@ void Widget::chosenRow(const ChosenRow &row) {
|
|||||||
} else if (row.newWindow) {
|
} else if (row.newWindow) {
|
||||||
controller()->showInNewWindow(Window::SeparateId(topicJump));
|
controller()->showInNewWindow(Window::SeparateId(topicJump));
|
||||||
} else {
|
} else {
|
||||||
if (!controller()->adaptive().isOneColumn()) {
|
if (!controller()->adaptive().isOneColumn()
|
||||||
|
&& !topicJump->channel()->useSubsectionTabs()) {
|
||||||
controller()->showForum(
|
controller()->showForum(
|
||||||
topicJump->forum(),
|
topicJump->forum(),
|
||||||
Window::SectionShow().withChildColumn());
|
Window::SectionShow().withChildColumn());
|
||||||
@@ -931,7 +932,8 @@ void Widget::chosenRow(const ChosenRow &row) {
|
|||||||
} else {
|
} else {
|
||||||
controller()->showForum(
|
controller()->showForum(
|
||||||
forum,
|
forum,
|
||||||
Window::SectionShow().withChildColumn());
|
Window::SectionShow(
|
||||||
|
Window::SectionShow::Way::ClearStack).withChildColumn());
|
||||||
if (controller()->shownForum().current() == forum
|
if (controller()->shownForum().current() == forum
|
||||||
&& forum->channel()->viewForumAsMessages()) {
|
&& forum->channel()->viewForumAsMessages()) {
|
||||||
controller()->showThread(
|
controller()->showThread(
|
||||||
|
Reference in New Issue
Block a user