From 82e48fcea84666701ef38aaecb1de6603fb44d9f Mon Sep 17 00:00:00 2001 From: Marco Castorina Date: Mon, 2 May 2016 20:55:33 +0100 Subject: [PATCH] Fixed crash when pressing TAB on Mac --- src/native/macosx/OSXWindowFrameView.m | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/native/macosx/OSXWindowFrameView.m b/src/native/macosx/OSXWindowFrameView.m index 031c02f..c08d5ba 100644 --- a/src/native/macosx/OSXWindowFrameView.m +++ b/src/native/macosx/OSXWindowFrameView.m @@ -88,6 +88,16 @@ return YES; } +- (NSView *)nextValidKeyView +{ + return self; +} + +- (NSView *)previousValidKeyView +{ + return self; +} + /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// - (BOOL)acceptsFirstResponder