2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Scroll to top of the filter on second click.

This commit is contained in:
John Preston
2020-03-27 13:41:54 +04:00
parent 7ea364e611
commit c5b8ddabac
3 changed files with 3 additions and 2 deletions

View File

@@ -781,7 +781,7 @@ FilterId SessionController::activeChatsFilterCurrent() const {
}
void SessionController::setActiveChatsFilter(FilterId id) {
_activeChatsFilter = id;
_activeChatsFilter.force_assign(id);
if (id) {
closeFolder();
}