mirror of
https://github.com/cookiengineer/audacity
synced 2026-01-12 07:35:51 +01:00
Effect.cpp: fix crash on preview while creating chains. Patch by Steve Daulton.
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user