mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-24 16:01:16 +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;
|
return false;
|
||||||
double len = t1-t0;
|
double len = t1-t0;
|
||||||
|
|
||||||
mSeq->clear(t0 - GetOffset(), len, false);
|
if (mSeq)
|
||||||
|
mSeq->clear(t0 - GetOffset(), len, false);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user