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:
parent
5ddbe112af
commit
848ec5a9b9
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user