Merge branch 'windowcontroller-loadwindowfix'

This commit is contained in:
Klaas Pieter Annema
2010-05-31 13:48:23 +02:00
+6
View File
@@ -72,11 +72,17 @@
if (self)
{
if (aWindow)
[self windowWillLoad];
[self setWindow:aWindow];
[self setShouldCloseDocument:NO];
[self setNextResponder:CPApp];
if (aWindow)
[self windowDidLoad];
_documents = [];
}