1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-14 18:35:31 +01:00

Change lots of code that uses linking to use the new

scheme.
This commit is contained in:
businessmanprogrammersteve
2010-02-16 20:50:38 +00:00
parent 98ca2b474b
commit e35e019e17
22 changed files with 344 additions and 530 deletions

View File

@@ -1000,10 +1000,6 @@ void ControlToolBar::SetupCutPreviewTracks(double playStart, double cutStart,
if (track1)
{
// Temporarily disable sticky track handling
bool sticky = p->GetStickyFlag();
p->SetStickyFlag(false);
// Duplicate and change tracks
track1 = track1->Duplicate();
track1->Clear(cutStart, cutEnd);
@@ -1017,9 +1013,6 @@ void ControlToolBar::SetupCutPreviewTracks(double playStart, double cutStart,
mCutPreviewTracks->Add(track1);
if (track2)
mCutPreviewTracks->Add(track2);
// Reinstate sticky track handling
p->SetStickyFlag(sticky);
}
}
}