mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Don't scroll dialogs up (support).
This commit is contained in:
parent
a27e9ad734
commit
a0ff432ac8
1 changed files with 3 additions and 0 deletions
|
@ -232,6 +232,9 @@ void DialogsWidget::repaintDialogRow(
|
||||||
}
|
}
|
||||||
|
|
||||||
void DialogsWidget::dialogsToUp() {
|
void DialogsWidget::dialogsToUp() {
|
||||||
|
if (Auth().supportMode()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (_filter->getLastText().trimmed().isEmpty() && !_searchInChat) {
|
if (_filter->getLastText().trimmed().isEmpty() && !_searchInChat) {
|
||||||
_scroll->scrollToY(0);
|
_scroll->scrollToY(0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue