mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-07-13 09:13:02 +02:00
Fix glitch in new forum layout opening.
This commit is contained in:
parent
3cfdc9d897
commit
fb2274c58d
1 changed files with 4 additions and 2 deletions
|
@ -872,7 +872,8 @@ void Widget::chosenRow(const ChosenRow &row) {
|
|||
} else if (row.newWindow) {
|
||||
controller()->showInNewWindow(Window::SeparateId(topicJump));
|
||||
} else {
|
||||
if (!controller()->adaptive().isOneColumn()) {
|
||||
if (!controller()->adaptive().isOneColumn()
|
||||
&& !topicJump->channel()->useSubsectionTabs()) {
|
||||
controller()->showForum(
|
||||
topicJump->forum(),
|
||||
Window::SectionShow().withChildColumn());
|
||||
|
@ -931,7 +932,8 @@ void Widget::chosenRow(const ChosenRow &row) {
|
|||
} else {
|
||||
controller()->showForum(
|
||||
forum,
|
||||
Window::SectionShow().withChildColumn());
|
||||
Window::SectionShow(
|
||||
Window::SectionShow::Way::ClearStack).withChildColumn());
|
||||
if (controller()->shownForum().current() == forum
|
||||
&& forum->channel()->viewForumAsMessages()) {
|
||||
controller()->showThread(
|
||||
|
|
Loading…
Add table
Reference in a new issue