1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-14 15:20:29 +02:00

Label tracks need SplitDelete with linking off, not on

This commit is contained in:
BusinessmanProgrammerSteve 2010-03-21 19:43:49 +00:00
parent e47e9692b6
commit af0f6828bb

View File

@ -3681,7 +3681,7 @@ void AudacityProject::Clear()
if (n->GetSelected() || n->IsSynchroSelected()) {
// AWD: Preserve traditional label track behavior: only shift time in
// linked mode
if (n->GetKind() == Track::Label && IsSticky())
if (n->GetKind() == Track::Label && !IsSticky())
((LabelTrack *)n)->SplitDelete(mViewInfo.sel0, mViewInfo.sel1);
else
n->Clear(mViewInfo.sel0, mViewInfo.sel1);