mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-06 06:31:07 +01:00
Fix bug 2096 differently...
... without reverting commit0aad028(which was done at commitfe22b2a, but I reverted that reversion at the previous commit)
This commit is contained in:
@@ -1291,6 +1291,8 @@ bool Effect::DoEffect(wxWindow *parent,
|
||||
|
||||
bool Effect::Delegate( Effect &delegate, wxWindow *parent, bool shouldPrompt)
|
||||
{
|
||||
// Ensure no net effect on the selected region
|
||||
ValueRestorer< SelectedRegion > cleanup{ *mpSelectedRegion };
|
||||
return delegate.DoEffect( parent, mProjectRate, mTracks, mFactory,
|
||||
mpSelectedRegion, shouldPrompt );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user