mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Fix single-column forum-by-user search.
This commit is contained in:
parent
4b5a0942b1
commit
473e190aeb
1 changed files with 1 additions and 1 deletions
|
@ -2348,7 +2348,7 @@ bool Widget::cancelSearch() {
|
|||
auto clearingInChat = false;
|
||||
cancelSearchRequest();
|
||||
if (!clearingQuery && (_searchInChat || _searchFromAuthor)) {
|
||||
if (controller()->adaptive().isOneColumn()) {
|
||||
if (_searchInChat && controller()->adaptive().isOneColumn()) {
|
||||
if (const auto thread = _searchInChat.thread()) {
|
||||
controller()->showThread(thread);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue