Don't set focus to shown third section.

I hope it fixes #28142.
This commit is contained in:
John Preston 2024-07-09 17:00:24 +02:00
parent 94ad8f9bc3
commit ebba58217c

View file

@ -8,6 +8,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "window/section_widget.h"
#include "mainwidget.h"
#include "mainwindow.h"
#include "ui/ui_utility.h"
#include "ui/chat/chat_theme.h"
#include "ui/painter.h"
@ -456,7 +457,7 @@ void SectionWidget::showFinished() {
showChildren();
showFinishedHook();
setInnerFocus();
controller()->widget()->setInnerFocus();
}
rpl::producer<int> SectionWidget::desiredHeight() const {