[Improvement] Scroll to dialog on back button click
This commit is contained in:
parent
3d782c0fac
commit
b58ffc6c23
1 changed files with 2 additions and 2 deletions
|
|
@ -1466,13 +1466,13 @@ void MainWidget::showHistory(
|
|||
}
|
||||
|
||||
if (_dialogs && !_dialogs->isHidden()) {
|
||||
if (!back) {
|
||||
// if (!back) {
|
||||
if (const auto history = _history->history()) {
|
||||
_dialogs->scrollToEntry(Dialogs::RowDescriptor(
|
||||
history,
|
||||
FullMsgId(history->peer->id, showAtMsgId)));
|
||||
}
|
||||
}
|
||||
// }
|
||||
_dialogs->update();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue