mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-18 00:50:52 +02:00
Bug2096: complete the fix started at 55f7c0f
This commit is contained in:
parent
027c5b4533
commit
b83781ccde
@ -1292,7 +1292,8 @@ bool Effect::DoEffect(wxWindow *parent,
|
|||||||
bool Effect::Delegate( Effect &delegate, wxWindow *parent, bool shouldPrompt)
|
bool Effect::Delegate( Effect &delegate, wxWindow *parent, bool shouldPrompt)
|
||||||
{
|
{
|
||||||
// Ensure no net effect on the selected region
|
// Ensure no net effect on the selected region
|
||||||
ValueRestorer< SelectedRegion > cleanup{ *mpSelectedRegion };
|
ValueRestorer< SelectedRegion > cleanup{
|
||||||
|
*mpSelectedRegion, SelectedRegion{ mT0, mT1 } };
|
||||||
return delegate.DoEffect( parent, mProjectRate, mTracks, mFactory,
|
return delegate.DoEffect( parent, mProjectRate, mTracks, mFactory,
|
||||||
mpSelectedRegion, shouldPrompt );
|
mpSelectedRegion, shouldPrompt );
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user