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:
parent
de73791a79
commit
e770a6766b
@ -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())
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user