ide; null crash fix on configless project file monitor reload.
authorRejean Loyer <rejean.loyer@gmail.com>
Thu, 6 Jun 2013 13:02:38 +0000 (09:02 -0400)
committerJerome St-Louis <jerome@ecere.com>
Tue, 11 Jun 2013 00:53:44 +0000 (20:53 -0400)
ide/src/project/Project.ec

index d2c2ddc..3da4201 100644 (file)
@@ -889,7 +889,7 @@ private:
       if(MessageBox { type = yesNo, master = ide,
             text = $"Project has been modified", contents = temp }.Modal() == yes)
       {
-         Project project = LoadProject(filePath, config.name);
+         Project project = LoadProject(filePath, config ? config.name : null);
          if(project)
          {
             ProjectView projectView = ide.projectView;