1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-26 23:33:49 +01:00

Fix windows crash at startup, again...

... The fix done at 2f9322e was undone at 43b1afc because of the unacceptable
file dependencies.  This fixes it by other means.  Make a null check in
SetProjectTitle in case it is invoked before ProjectWindow has been constructed;
also ensure in ProjectManager::New that it is called at least once after that.
This commit is contained in:
Paul Licameli
2019-06-10 11:40:30 -04:00
parent c5a1dad275
commit bb7964122e
2 changed files with 6 additions and 1 deletions

View File

@@ -360,6 +360,8 @@ AudacityProject *ProjectManager::New()
auto &projectManager = Get( project );
auto &window = ProjectWindow::Get( *p );
window.Init();
ProjectFileIO::Get( *p ).SetProjectTitle();
MissingAliasFilesDialog::SetShouldShow(true);
MenuManager::Get( project ).CreateMenusAndCommands( project );