mirror of
https://github.com/cookiengineer/audacity
synced 2026-01-10 14:47:07 +01: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