mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-09 18:30:59 +00:00
fixed: CPDocument sends windowWillClose: message twice
This commit is contained in:
1 parent
e02107102c
commit
f3fe384df1
1 file changed
+1
-1
+1
-1
@@ -874,7 +874,7 @@ var CPDocumentUntitledCount = 0;
|
||||
if (aDocument === self && shouldClose)
|
||||
[self close];
|
||||
|
||||
if (theDelegate != null)
|
||||
else if (theDelegate != null)
|
||||
theDelegate.isa.objj_msgSend3(theDelegate, context.selector, aDocument, shouldClose, context.context);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user