mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-01 08:29:27 +02: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:
parent
6b1b9cc088
commit
d6f8410d56
@ -610,7 +610,7 @@ void OnPaste(const CommandContext &context)
|
||||
}
|
||||
},
|
||||
[&](LabelTrack *lt, const Track::Fallthrough &fallthrough) {
|
||||
if (!lt->GetSelected() && !isSyncLocked)
|
||||
if (!lt->GetSelected() && !lt->IsSyncLockSelected())
|
||||
return fallthrough();
|
||||
|
||||
lt->Clear(t0, t1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user