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:
commit
0f4605d092
3 changed files with 3 additions and 0 deletions
|
@ -134,6 +134,7 @@ void Mixer::showEvent(QShowEvent* e)
|
|||
enablePlay->showEvent(e);
|
||||
QScrollArea::showEvent(e);
|
||||
activateWindow();
|
||||
setFocus();
|
||||
}
|
||||
|
||||
//---------------------------------------------------------
|
||||
|
|
|
@ -149,6 +149,7 @@ void PlayPanel::showEvent(QShowEvent* e)
|
|||
enablePlay->showEvent(e);
|
||||
QWidget::showEvent(e);
|
||||
activateWindow();
|
||||
setFocus();
|
||||
}
|
||||
|
||||
//---------------------------------------------------------
|
||||
|
|
|
@ -133,6 +133,7 @@ void SynthControl::showEvent(QShowEvent* e)
|
|||
enablePlay->showEvent(e);
|
||||
QWidget::showEvent(e);
|
||||
activateWindow();
|
||||
setFocus();
|
||||
}
|
||||
|
||||
//---------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue