mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-18 14:41:20 +01:00
Bug2096: complete the fix started at 55f7c0f
This commit is contained in:
@@ -1292,7 +1292,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 };
|
||||
ValueRestorer< SelectedRegion > cleanup{
|
||||
*mpSelectedRegion, SelectedRegion{ mT0, mT1 } };
|
||||
return delegate.DoEffect( parent, mProjectRate, mTracks, mFactory,
|
||||
mpSelectedRegion, shouldPrompt );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user