1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-01 08:29:27 +02:00

Disable Apply button while the effect is running

This commit is contained in:
Leland Lucius 2015-05-04 12:15:54 -05:00
parent 5ddbe112af
commit 848ec5a9b9

View File

@ -3047,9 +3047,9 @@ void EffectUIHost::OnApply(wxCommandEvent & evt)
return; return;
} }
// Prevent recursive apply...can happen because ProgressDialog yields, which allows // Progress dialog no longer yields, so this "shouldn't" be necessary (yet to be proven
// events to flow. // for sure), but it is a nice visual cue that something is going on.
// mApplyBtn->Disable(); mApplyBtn->Disable();
mEffect->Apply(); mEffect->Apply();