fix sync-lock adjustment in effects, see commit a93c447

This commit is contained in:
Paul Licameli 2020-03-25 21:32:54 -04:00
parent 491b1d40a3
commit 85c34132f4
1 changed files with 3 additions and 1 deletions

View File

@ -2070,7 +2070,9 @@ void Effect::CopyInputTracks(bool allSyncLockSelected)
mIMap.clear();
mOMap.clear();
mOutputTracks = TrackList::Create( nullptr );
mOutputTracks = TrackList::Create(
const_cast<AudacityProject*>( FindProject() ) // how to remove this const_cast?
);
auto trackRange = mTracks->Any() +
[&] (const Track *pTrack) {