mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 15:43:55 +02:00
Cancel search in chat doesn't reset search query.
This commit is contained in:
parent
d09ece4203
commit
ddbd36e446
1 changed files with 1 additions and 4 deletions
|
@ -1795,10 +1795,7 @@ void Widget::onCancelSearchInChat() {
|
||||||
}
|
}
|
||||||
setSearchInChat(Key());
|
setSearchInChat(Key());
|
||||||
}
|
}
|
||||||
_inner->clearFilter();
|
applyFilterUpdate(true);
|
||||||
_filter->clear();
|
|
||||||
_filter->updatePlaceholder();
|
|
||||||
applyFilterUpdate();
|
|
||||||
if (!Adaptive::OneColumn() && !controller()->selectingPeer()) {
|
if (!Adaptive::OneColumn() && !controller()->selectingPeer()) {
|
||||||
emit cancelled();
|
emit cancelled();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue