1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-01 16:39:30 +02:00

Bug 2408 - A region label gets split on inserting audio when Sync-lock is turned on

This commit is contained in:
James Crook 2020-05-29 22:27:04 +01:00
parent 637712489f
commit 6b1b9cc088

View File

@ -610,7 +610,7 @@ void OnPaste(const CommandContext &context)
}
},
[&](LabelTrack *lt, const Track::Fallthrough &fallthrough) {
if (!lt->GetSelected())
if (!lt->GetSelected() && !isSyncLocked)
return fallthrough();
lt->Clear(t0, t1);