mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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() {
|
void RepliesWidget::showFinishedHook() {
|
||||||
_topBar->setAnimatingMode(false);
|
_topBar->setAnimatingMode(false);
|
||||||
if (_joinGroup) {
|
if (_joinGroup) {
|
||||||
|
if (Ui::InFocusChain(this)) {
|
||||||
|
_inner->setFocus();
|
||||||
|
}
|
||||||
_composeControls->hide();
|
_composeControls->hide();
|
||||||
} else {
|
} else {
|
||||||
_composeControls->showFinished();
|
_composeControls->showFinished();
|
||||||
|
|
Loading…
Add table
Reference in a new issue