Scroll to dialog on back button click
This commit is contained in:
parent
6116188e8b
commit
938afea533
1 changed files with 2 additions and 2 deletions
|
|
@ -1743,13 +1743,13 @@ void MainWidget::ui_showPeerHistory(
|
|||
}
|
||||
|
||||
if (!_dialogs->isHidden()) {
|
||||
if (!back) {
|
||||
// if (!back) {
|
||||
if (const auto history = _history->history()) {
|
||||
_dialogs->scrollToEntry(Dialogs::RowDescriptor(
|
||||
history,
|
||||
FullMsgId(history->channelId(), showAtMsgId)));
|
||||
}
|
||||
}
|
||||
// }
|
||||
_dialogs->update();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue