mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-26 07:13:49 +01:00
Some null checks, might be needed when project is closing
This commit is contained in:
@@ -2029,7 +2029,8 @@ void AudacityProject::FixScrollbars()
|
||||
}
|
||||
|
||||
CallAfter(
|
||||
[this]{ GetTrackPanel()->HandleCursorForPresentMouseState(); } );
|
||||
[this]{ if (GetTrackPanel())
|
||||
GetTrackPanel()->HandleCursorForPresentMouseState(); } );
|
||||
}
|
||||
|
||||
std::shared_ptr<Track> AudacityProject::GetFirstVisible()
|
||||
@@ -2279,7 +2280,8 @@ void AudacityProject::DoScroll()
|
||||
}
|
||||
|
||||
CallAfter(
|
||||
[this]{ GetTrackPanel()->HandleCursorForPresentMouseState(); } );
|
||||
[this]{ if (GetTrackPanel())
|
||||
GetTrackPanel()->HandleCursorForPresentMouseState(); } );
|
||||
}
|
||||
|
||||
bool AudacityProject::ReportIfActionNotAllowed
|
||||
|
||||
Reference in New Issue
Block a user