mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 21:17:03 +00:00
use coherent delegate name
This commit is contained in:
+1
-1
@@ -274,7 +274,7 @@ var CPPopoverDelegate_popover_willShow_ = 1 << 0,
|
||||
#pragma mark Delegates
|
||||
|
||||
/*! @ignore */
|
||||
- (BOOL)didAttachedWindowShouldClose:(_CPAttachedWindow)anAttachedWindow
|
||||
- (BOOL)attachedWindowShouldClose:(_CPAttachedWindow)anAttachedWindow
|
||||
{
|
||||
[self close];
|
||||
|
||||
|
||||
@@ -408,8 +408,8 @@ CPPopoverAppearanceHUD = 1;
|
||||
{
|
||||
if (_closeOnBlur && !_isClosed)
|
||||
{
|
||||
if (!_delegate || ([_delegate respondsToSelector:@selector(didAttachedWindowShouldClose:)]
|
||||
&& [_delegate didAttachedWindowShouldClose:self]))
|
||||
if (!_delegate || ([_delegate respondsToSelector:@selector(attachedWindowShouldClose:)]
|
||||
&& [_delegate attachedWindowShouldClose:self]))
|
||||
[self close];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user