Fix for accessing view controllers for a document.

Reviewed by me.
This commit is contained in:
Francisco Ryan Tolmasky I committed 2009-09-15 17:14:14 -07:00
1 parent 1862eacc27
commit 7ca50e4d28
1 file changed
+1 -1
+1 -1
View File
@@ -323,7 +323,7 @@ var CPDocumentUntitledCount = 0;
- (CPArray)viewControllers
{
return [_viewControllersForWindowControllers allObjects];
return [_viewControllersForWindowControllers allValues];
}
- (void)addViewController:(CPViewController)aViewController forWindowController:(CPWindowController)aWindowController