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:
parent
e47e9692b6
commit
af0f6828bb
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user