mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-04 09:39:42 +02:00
Fix crash when sync-lock adjusting a note track
This commit is contained in:
parent
d783762737
commit
fa0a603804
@ -500,7 +500,8 @@ bool NoteTrack::Clear(double t0, double t1)
|
||||
return false;
|
||||
double len = t1-t0;
|
||||
|
||||
mSeq->clear(t0 - GetOffset(), len, false);
|
||||
if (mSeq)
|
||||
mSeq->clear(t0 - GetOffset(), len, false);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user