mirror of
https://github.com/cookiengineer/audacity
synced 2026-04-01 20:14:49 +02:00
Some null checks
This commit is contained in:
@@ -365,7 +365,8 @@ void ProjectAudioManager::Stop(bool stopStream /* = true*/)
|
||||
}
|
||||
|
||||
const auto toolbar = ToolManager::Get( *project ).GetToolBar(ScrubbingBarID);
|
||||
toolbar->EnableDisableButtons();
|
||||
if (toolbar)
|
||||
toolbar->EnableDisableButtons();
|
||||
}
|
||||
|
||||
void ProjectAudioManager::Pause()
|
||||
|
||||
Reference in New Issue
Block a user