We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 192c121 commit 64e52ddCopy full SHA for 64e52dd
Source/NSTabView.m
@@ -78,6 +78,7 @@ - (id) initWithFrame: (NSRect)rect
78
ASSIGN(_items, [NSMutableArray array]);
79
ASSIGN(_font, [NSFont systemFontOfSize: 0]);
80
_selected = nil;
81
+ _original_nextKeyView = nil;
82
//_truncated_label = NO;
83
}
84
@@ -738,7 +739,8 @@ - (void) _setUpKeyViewLoopWithNextKeyView: (NSView *)nextKeyView
738
739
740
- (void) setNextKeyView: (NSView *)nextKeyView
741
{
- _original_nextKeyView = nextKeyView;
742
+ [_original_nextKeyView autorelease];
743
+ _original_nextKeyView = [nextKeyView retain];
744
if (_selected)
745
746
[[_selected _lastKeyView] setNextKeyView: nextKeyView];
0 commit comments