Author: mlytwyn
Date: Mon Jul 20 21:48:22 2015
New Revision: 38815
URL: http://svn.gna.org/viewcvs/gnustep?rev=38815&view=rev
Log:
Fix NSTabView nextKeyView crash - bug# 6150
Modified:
libs/gui/branches/gnustep_testplant_branch/Source/NSTabView.m
Modified: libs/gui/branches/gnustep_testplant_branch/Source/NSTabView.m
URL:
http://svn.gna.org/viewcvs/gnustep/libs/gui/branches/gnustep_testplant_branch/Source/NSTabView.m?rev=38815&r1=38814&r2=38815&view=diff
==============================================================================
--- libs/gui/branches/gnustep_testplant_branch/Source/NSTabView.m
(original)
+++ libs/gui/branches/gnustep_testplant_branch/Source/NSTabView.m Mon Jul
20 21:48:22 2015
@@ -88,6 +88,7 @@
{
// Reset the _selected attribute to prevent crash when -dealloc calls
// -setNextKeyView:
+ _original_nextKeyView = nil;
_selected = nil;
RELEASE(_items);
RELEASE(_font);
@@ -277,7 +278,7 @@
[firstResponder _setUpKeyViewLoopWithNextKeyView:
_original_nextKeyView];
}
- [self setNextKeyView: firstResponder];
+ [super setNextKeyView: firstResponder];
[_window makeFirstResponder: firstResponder];
}
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs