diff --git a/Telegram/SourceFiles/dialogs/dialogs_widget.cpp b/Telegram/SourceFiles/dialogs/dialogs_widget.cpp index ee2b054391..d36e3c31cf 100644 --- a/Telegram/SourceFiles/dialogs/dialogs_widget.cpp +++ b/Telegram/SourceFiles/dialogs/dialogs_widget.cpp @@ -232,7 +232,7 @@ void DialogsWidget::repaintDialogRow( } void DialogsWidget::dialogsToUp() { - if (_filter->getLastText().trimmed().isEmpty()) { + if (_filter->getLastText().trimmed().isEmpty() && !_searchInChat) { _scroll->scrollToY(0); } }