1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-04-01 20:14:49 +02:00

Some null checks

This commit is contained in:
Paul Licameli
2020-11-25 11:07:16 -05:00
parent 262dbabbf5
commit 2fe0a07901
2 changed files with 7 additions and 4 deletions

View File

@@ -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()