1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 16:10:06 +02:00

Fix bug 2096 differently...

... without reverting commit 0aad028

(which was done at commit fe22b2a, but I reverted that reversion at the
previous commit)
This commit is contained in:
Paul Licameli 2019-04-20 12:26:15 -04:00
parent fe1be2b6a8
commit 55f7c0f6af

View File

@ -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 );
}