mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Fix focus loosing in RepliesWidget with JoinGroup button.
This commit is contained in:
parent
05b8b9f22e
commit
3e8b1d9663
1 changed files with 3 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue