From 1a54947e9256aeba69c0ef517941b1d47e5c5694 Mon Sep 17 00:00:00 2001 From: Leland Lucius Date: Fri, 14 Aug 2015 16:04:23 -0500 Subject: [PATCH] Make sure new project windows get the focus on OSX. --- src/Project.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Project.cpp b/src/Project.cpp index 986058fa3..86fe8141a 100644 --- a/src/Project.cpp +++ b/src/Project.cpp @@ -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)