mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-24 15:23:52 +02:00
Fix crash when sync-lock adjusting a note track
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user