mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-22 07:28:03 +02:00
Effect.cpp: fix crash on preview while creating chains. Patch by Steve Daulton.
This commit is contained in:
parent
e8714acce7
commit
9fab115a67
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user