Fix focus loosing in RepliesWidget with JoinGroup button.
This commit is contained in:
parent
05b8b9f22e
commit
3e8b1d9663
|
@ -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…
Reference in New Issue