mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-21 01:40:41 +00:00
fixed: CPDocument sends windowWillClose: message twice
This commit is contained in:
+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