mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-21 08:27:13 +01:00
Bug 2408 part 2.
Only modify label tracks with sync lock, when they are also part of the sync lock group. This corrects a problem where edits in a wave track culd affect later label tracks that were not in its group.
This commit is contained in:
@@ -610,7 +610,7 @@ void OnPaste(const CommandContext &context)
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
[&](LabelTrack *lt, const Track::Fallthrough &fallthrough) {
|
[&](LabelTrack *lt, const Track::Fallthrough &fallthrough) {
|
||||||
if (!lt->GetSelected() && !isSyncLocked)
|
if (!lt->GetSelected() && !lt->IsSyncLockSelected())
|
||||||
return fallthrough();
|
return fallthrough();
|
||||||
|
|
||||||
lt->Clear(t0, t1);
|
lt->Clear(t0, t1);
|
||||||
|
|||||||
Reference in New Issue
Block a user