1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-30 15:39: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;
}
// Prevent recursive apply...can happen because ProgressDialog yields, which allows
// events to flow.
// mApplyBtn->Disable();
// Progress dialog no longer yields, so this "shouldn't" be necessary (yet to be proven
// for sure), but it is a nice visual cue that something is going on.
mApplyBtn->Disable();
mEffect->Apply();