parent
2d9d373c7f
commit
21232e09a4
|
@ -2851,7 +2851,6 @@ void InnerWidget::searchInChat(Key key, PeerData *from) {
|
|||
_searchInChat = key;
|
||||
_searchFromPeer = from;
|
||||
if (_searchInChat) {
|
||||
_controller->closeFolder();
|
||||
onHashtagFilterUpdate(QStringView());
|
||||
_cancelSearchInChat->show();
|
||||
} else {
|
||||
|
|
|
@ -2196,6 +2196,9 @@ bool Widget::setSearchInChat(Key chat, PeerData *from) {
|
|||
updateSearchFromVisibility();
|
||||
clearSearchCache();
|
||||
}
|
||||
if (_searchInChat && _layout == Layout::Main) {
|
||||
controller()->closeFolder();
|
||||
}
|
||||
_inner->searchInChat(_searchInChat, _searchFromAuthor);
|
||||
if (_subsectionTopBar) {
|
||||
_subsectionTopBar->searchEnableJumpToDate(
|
||||
|
|
Loading…
Reference in New Issue