Merge pull request #1752 from andreituicu/fix_branch

Fix play panel, synthesizer, mixer not getting focus when opened using keyboard.
This commit is contained in:
Nicolas Froment 2015-02-11 14:58:52 +01:00
commit 0f4605d092
3 changed files with 3 additions and 0 deletions

View file

@ -134,6 +134,7 @@ void Mixer::showEvent(QShowEvent* e)
enablePlay->showEvent(e);
QScrollArea::showEvent(e);
activateWindow();
setFocus();
}
//---------------------------------------------------------

View file

@ -149,6 +149,7 @@ void PlayPanel::showEvent(QShowEvent* e)
enablePlay->showEvent(e);
QWidget::showEvent(e);
activateWindow();
setFocus();
}
//---------------------------------------------------------

View file

@ -133,6 +133,7 @@ void SynthControl::showEvent(QShowEvent* e)
enablePlay->showEvent(e);
QWidget::showEvent(e);
activateWindow();
setFocus();
}
//---------------------------------------------------------