Revert change

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22837 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2006-04-29 04:51:26 +00:00
parent 34d679ec1d
commit 423a05129d
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2006-04-29 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSWindow.m: ([-performKeyEquivalent:]) revert last change as
it broke things because I accidentally faileds to commit corresponding
NSMenu fix, and because I'm not sure it should be doing it anyway.
2006-04-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSApplication.m: ([-sendEvent:]) try key equivalents for

View file

@ -2538,7 +2538,7 @@ resetCursorRectsForView(NSView *theView)
- (BOOL) performKeyEquivalent: (NSEvent*)theEvent
{
if ([self isKeyWindow] && _contentView)
if (_contentView)
return [_contentView performKeyEquivalent: theEvent];
return NO;
}