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 at2f9322ewas undone at43b1afcbecause 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:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user