mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-01 14:43:48 +01:00
Bug1390: Don't crash when SnapTo is not Off
This commit is contained in:
@@ -4788,7 +4788,10 @@ void AudacityProject::TP_HandleResize()
|
||||
void AudacityProject::GetPlayRegion(double* playRegionStart,
|
||||
double *playRegionEnd)
|
||||
{
|
||||
mRuler->GetPlayRegion(playRegionStart, playRegionEnd);
|
||||
if (mRuler)
|
||||
mRuler->GetPlayRegion(playRegionStart, playRegionEnd);
|
||||
else
|
||||
*playRegionEnd = *playRegionStart = 0;
|
||||
}
|
||||
|
||||
void AudacityProject::AutoSave()
|
||||
|
||||
Reference in New Issue
Block a user