mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-23 07:58:05 +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)
|
void Effect::Preview(bool dryOnly)
|
||||||
{
|
{
|
||||||
|
if (mNumTracks==0) // nothing to preview
|
||||||
|
return;
|
||||||
|
|
||||||
wxWindow* FocusDialog = wxWindow::FindFocus();
|
wxWindow* FocusDialog = wxWindow::FindFocus();
|
||||||
if (gAudioIO->IsBusy())
|
if (gAudioIO->IsBusy())
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user