mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-13 20:17:07 +00:00
don't send windowWillLoad and windowDidLoad if the window is not loaded from cib
This commit is contained in:
1 parent
2022eb5c12
commit
83ea50a836
1 file changed
-6
@@ -72,17 +72,11 @@
|
||||
|
||||
if (self)
|
||||
{
|
||||
if (aWindow)
|
||||
[self windowWillLoad];
|
||||
|
||||
[self setWindow:aWindow];
|
||||
[self setShouldCloseDocument:NO];
|
||||
|
||||
[self setNextResponder:CPApp];
|
||||
|
||||
if (aWindow)
|
||||
[self windowDidLoad];
|
||||
|
||||
_documents = [];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user