diff --git a/Framework/PCProjectManager.m b/Framework/PCProjectManager.m index 525a599..0b0a3d8 100644 --- a/Framework/PCProjectManager.m +++ b/Framework/PCProjectManager.m @@ -817,7 +817,7 @@ NSString *PCActiveProjectDidChangeNotification = @"PCActiveProjectDidChange"; NSString *filePath; NSString *projectType; PCProject *project; - + NSString *projectPath; [self createProjectTypeAccessaryView]; @@ -858,7 +858,9 @@ NSString *PCActiveProjectDidChangeNotification = @"PCActiveProjectDidChange"; return; } - [loadedProjects setObject:project forKey: [project projectPath]]; + projectPath = [project projectPath]; + [[NSDocumentController sharedDocumentController] noteNewRecentDocumentURL:[NSURL fileURLWithPath:projectPath]]; + [loadedProjects setObject:project forKey:projectPath]; [self setActiveProject:project]; [[project projectWindow] orderFront:self]; }