mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-02 07:35:12 +00:00
@@ -2851,7 +2851,6 @@ void InnerWidget::searchInChat(Key key, PeerData *from) {
|
|||||||
_searchInChat = key;
|
_searchInChat = key;
|
||||||
_searchFromPeer = from;
|
_searchFromPeer = from;
|
||||||
if (_searchInChat) {
|
if (_searchInChat) {
|
||||||
_controller->closeFolder();
|
|
||||||
onHashtagFilterUpdate(QStringView());
|
onHashtagFilterUpdate(QStringView());
|
||||||
_cancelSearchInChat->show();
|
_cancelSearchInChat->show();
|
||||||
} else {
|
} else {
|
||||||
|
@@ -2196,6 +2196,9 @@ bool Widget::setSearchInChat(Key chat, PeerData *from) {
|
|||||||
updateSearchFromVisibility();
|
updateSearchFromVisibility();
|
||||||
clearSearchCache();
|
clearSearchCache();
|
||||||
}
|
}
|
||||||
|
if (_searchInChat && _layout == Layout::Main) {
|
||||||
|
controller()->closeFolder();
|
||||||
|
}
|
||||||
_inner->searchInChat(_searchInChat, _searchFromAuthor);
|
_inner->searchInChat(_searchInChat, _searchFromAuthor);
|
||||||
if (_subsectionTopBar) {
|
if (_subsectionTopBar) {
|
||||||
_subsectionTopBar->searchEnableJumpToDate(
|
_subsectionTopBar->searchEnableJumpToDate(
|
||||||
|
Reference in New Issue
Block a user