mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Don't scroll chats up when searching in chat.
This commit is contained in:
parent
02a8b693af
commit
f68466b072
1 changed files with 1 additions and 1 deletions
|
@ -232,7 +232,7 @@ void DialogsWidget::repaintDialogRow(
|
|||
}
|
||||
|
||||
void DialogsWidget::dialogsToUp() {
|
||||
if (_filter->getLastText().trimmed().isEmpty()) {
|
||||
if (_filter->getLastText().trimmed().isEmpty() && !_searchInChat) {
|
||||
_scroll->scrollToY(0);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue