mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-18 00:50:05 +02:00
Make sure new project windows get the focus on OSX.
This commit is contained in:
parent
0e7a063ced
commit
1a54947e92
@ -2773,6 +2773,10 @@ void AudacityProject::OpenFile(wxString fileName, bool addtohistory)
|
|||||||
//release the flag.
|
//release the flag.
|
||||||
ODManager::UnmarkLoadedODFlag();
|
ODManager::UnmarkLoadedODFlag();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// For an unknown reason, OSX requires that the project window be
|
||||||
|
// raised if a recovery took place.
|
||||||
|
Raise();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool AudacityProject::HandleXMLTag(const wxChar *tag, const wxChar **attrs)
|
bool AudacityProject::HandleXMLTag(const wxChar *tag, const wxChar **attrs)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user