mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-05 16:43:52 +01:00
Fix for bug #2175
Needed to Raise() the mixerboard's parent when it gets hidden.
This commit is contained in:
@@ -1446,6 +1446,14 @@ MixerBoardFrame::~MixerBoardFrame()
|
||||
// event handlers
|
||||
void MixerBoardFrame::OnCloseWindow(wxCloseEvent &WXUNUSED(event))
|
||||
{
|
||||
// Fix for bug #2175.
|
||||
//
|
||||
// If the mixerboard enters fullscreen, the main project will be
|
||||
// "lowered", so ensure it's visible after the mixerboard closes.
|
||||
#if defined(__WXMAC__)
|
||||
dynamic_cast<wxFrame*>(GetParent())->Raise();
|
||||
#endif
|
||||
|
||||
this->Hide();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user