mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Fix cancel of search by sender in forums.
This commit is contained in:
parent
fdee5f9227
commit
592c471f58
1 changed files with 1 additions and 1 deletions
|
@ -2336,7 +2336,7 @@ bool Widget::cancelSearch() {
|
|||
auto clearingQuery = !currentSearchQuery().isEmpty();
|
||||
auto clearingInChat = false;
|
||||
cancelSearchRequest();
|
||||
if (!clearingQuery && _searchInChat) {
|
||||
if (!clearingQuery && (_searchInChat || _searchFromAuthor)) {
|
||||
if (controller()->adaptive().isOneColumn()) {
|
||||
if (const auto thread = _searchInChat.thread()) {
|
||||
controller()->showThread(thread);
|
||||
|
|
Loading…
Add table
Reference in a new issue