Fixed escape key in open dialog.
parent
be564b01fb
commit
16bc20ec4e
|
@ -208,6 +208,7 @@ static BOOL KFKeyEventIsCancelEvent(NSEvent *keyEvent);
|
||||||
// 10.2. I haven't had a chance to find out.
|
// 10.2. I haven't had a chance to find out.
|
||||||
[self cancelOperation:self];
|
[self cancelOperation:self];
|
||||||
eatEvent = YES;
|
eatEvent = YES;
|
||||||
|
[super keyDown:keyEvent];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -405,7 +406,7 @@ static BOOL KFKeyEventIsCancelEvent(NSEvent *keyEvent)
|
||||||
{
|
{
|
||||||
return YES;
|
return YES;
|
||||||
}
|
}
|
||||||
|
|
||||||
return NO;
|
return NO;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue