mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-07-27 16:03:03 +02:00
Focus correct widget in intro steps.
The old way some random shown widget could've been focused.
This commit is contained in:
parent
8ed167c5fa
commit
1e0fe70dc3
1 changed files with 1 additions and 0 deletions
|
@ -790,6 +790,7 @@ QPixmap Widget::Step::prepareSlideAnimation() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Widget::Step::showAnimated(Direction direction) {
|
void Widget::Step::showAnimated(Direction direction) {
|
||||||
|
setFocus();
|
||||||
show();
|
show();
|
||||||
hideChildren();
|
hideChildren();
|
||||||
if (_slideAnimation) {
|
if (_slideAnimation) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue