mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-20 14:47:49 +02:00
Bug1390: Don't crash when SnapTo is not Off
This commit is contained in:
parent
6acb0f99b3
commit
66c14c9940
@ -4788,7 +4788,10 @@ void AudacityProject::TP_HandleResize()
|
|||||||
void AudacityProject::GetPlayRegion(double* playRegionStart,
|
void AudacityProject::GetPlayRegion(double* playRegionStart,
|
||||||
double *playRegionEnd)
|
double *playRegionEnd)
|
||||||
{
|
{
|
||||||
mRuler->GetPlayRegion(playRegionStart, playRegionEnd);
|
if (mRuler)
|
||||||
|
mRuler->GetPlayRegion(playRegionStart, playRegionEnd);
|
||||||
|
else
|
||||||
|
*playRegionEnd = *playRegionStart = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void AudacityProject::AutoSave()
|
void AudacityProject::AutoSave()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user