1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-22 15:38:02 +02:00

Effect.cpp: fix crash on preview while creating chains. Patch by Steve Daulton.

This commit is contained in:
mchinen 2013-05-19 05:56:42 +00:00
parent e8714acce7
commit 9fab115a67

View File

@ -415,6 +415,9 @@ wxString Effect::GetPreviewName()
void Effect::Preview(bool dryOnly)
{
if (mNumTracks==0) // nothing to preview
return;
wxWindow* FocusDialog = wxWindow::FindFocus();
if (gAudioIO->IsBusy())
return;