2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Save section expand state in Info memento.

This commit is contained in:
John Preston
2017-10-03 18:41:44 +01:00
parent c6c75a1980
commit 76b8078bd9
21 changed files with 196 additions and 68 deletions

View File

@@ -288,7 +288,10 @@ void showPeerHistory(
auto ms = getms();
LOG(("Show Peer Start"));
if (auto m = App::main()) {
m->ui_showPeerHistory(peer, Window::SectionShow(), msgId);
m->ui_showPeerHistory(
peer,
Window::SectionShow::Way::ClearStack,
msgId);
}
LOG(("Show Peer End: %1").arg(getms() - ms));
}