Focus correct widget in intro steps.

The old way some random shown widget could've been focused.
This commit is contained in:
John Preston 2018-03-11 22:17:58 +03:00
parent 8ed167c5fa
commit 1e0fe70dc3
1 changed files with 1 additions and 0 deletions

View File

@ -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) {