1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-04 17:49:45 +02:00

Fix crash when sync-lock adjusting a note track

This commit is contained in:
Paul Licameli 2016-09-15 08:33:15 -04:00
parent d783762737
commit fa0a603804

View File

@ -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;
}