mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Don't scroll chats up when searching in chat.
This commit is contained in:
@@ -232,7 +232,7 @@ void DialogsWidget::repaintDialogRow(
|
||||
}
|
||||
|
||||
void DialogsWidget::dialogsToUp() {
|
||||
if (_filter->getLastText().trimmed().isEmpty()) {
|
||||
if (_filter->getLastText().trimmed().isEmpty() && !_searchInChat) {
|
||||
_scroll->scrollToY(0);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user