1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-17 00:20:06 +02:00

Make sure new project windows get the focus on OSX.

This commit is contained in:
Leland Lucius 2015-08-14 16:04:23 -05:00
parent 0e7a063ced
commit 1a54947e92

View File

@ -2773,6 +2773,10 @@ void AudacityProject::OpenFile(wxString fileName, bool addtohistory)
//release the flag.
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)