ide: Fixed crashes with Quick Project
authorJerome St-Louis <jerome@ecere.com>
Sat, 22 Oct 2016 18:04:42 +0000 (14:04 -0400)
committerJerome St-Louis <jerome@ecere.com>
Sat, 22 Oct 2016 18:04:42 +0000 (14:04 -0400)
- Was missing call to Workspace::Init()

ide/src/dialogs/NewProjectDialog.ec

index 16eb033..f5205f4 100644 (file)
@@ -460,6 +460,7 @@ class QuickProjectDialog : Window
             workspace = Workspace { activeCompiler = ideSettings.defaultCompiler, workspaceFile = workspaceFile };
          }
 
+         workspace.Init();
          workspace.AddProject(project, null);
          ide.findInFilesDialog.AddProjectItem(project);
          ide.findInFilesDialog.mode = FindInFilesMode::project;