mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-04 02:33:14 +01:00
Label tracks need SplitDelete with linking off, not on
This commit is contained in:
@@ -3681,7 +3681,7 @@ void AudacityProject::Clear()
|
|||||||
if (n->GetSelected() || n->IsSynchroSelected()) {
|
if (n->GetSelected() || n->IsSynchroSelected()) {
|
||||||
// AWD: Preserve traditional label track behavior: only shift time in
|
// AWD: Preserve traditional label track behavior: only shift time in
|
||||||
// linked mode
|
// linked mode
|
||||||
if (n->GetKind() == Track::Label && IsSticky())
|
if (n->GetKind() == Track::Label && !IsSticky())
|
||||||
((LabelTrack *)n)->SplitDelete(mViewInfo.sel0, mViewInfo.sel1);
|
((LabelTrack *)n)->SplitDelete(mViewInfo.sel0, mViewInfo.sel1);
|
||||||
else
|
else
|
||||||
n->Clear(mViewInfo.sel0, mViewInfo.sel1);
|
n->Clear(mViewInfo.sel0, mViewInfo.sel1);
|
||||||
|
|||||||
Reference in New Issue
Block a user