mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-01 16:19:43 +02:00
If logger does not exist, don't try to delete it.
This commit is contained in:
parent
e770a6766b
commit
51bd1c2a4d
@ -2026,7 +2026,8 @@ void AudacityProject::OnCloseWindow(wxCloseEvent & event)
|
||||
|
||||
if (gAudacityProjects.IsEmpty() && !gIsQuitting) {
|
||||
|
||||
wxGetApp().mLogger->Show(false);
|
||||
if( wxGetApp().mLogger )
|
||||
wxGetApp().mLogger->Show(false);
|
||||
|
||||
#if !defined(__WXMAC__)
|
||||
// LL: On the Mac, we don't want the logger open after all projects
|
||||
|
Loading…
x
Reference in New Issue
Block a user