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:
parent
fe1be2b6a8
commit
55f7c0f6af
@ -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 );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user