1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-03 17:39:25 +02:00

If logger does not exist, don't try to delete it.

This commit is contained in:
james.k.crook@gmail.com 2012-02-09 12:54:24 +00:00
parent de73791a79
commit e770a6766b

View File

@ -5809,6 +5809,9 @@ void AudacityProject::OnManual()
void AudacityProject::OnShowLog()
{
wxLogWindow* pLogger = wxGetApp().mLogger;
// It's possible a log window was not created.
if( !pLogger )
return;
wxFrame* pLoggerFrame = pLogger->GetFrame();
if (!pLoggerFrame->IsShown())
{