Fix focus loosing in RepliesWidget with JoinGroup button.

This commit is contained in:
John Preston 2023-04-21 15:14:50 +04:00
parent 05b8b9f22e
commit 3e8b1d9663
1 changed files with 3 additions and 0 deletions

View File

@ -2326,6 +2326,9 @@ void RepliesWidget::showAnimatedHook(
void RepliesWidget::showFinishedHook() {
_topBar->setAnimatingMode(false);
if (_joinGroup) {
if (Ui::InFocusChain(this)) {
_inner->setFocus();
}
_composeControls->hide();
} else {
_composeControls->showFinished();