* Headers/AppKit/NSTableView.h: Add _isValidating

* Source/NSCell.m (+initialize): Expose title binding.
	* Source/NSOpenPanel.m (-runModal): Use _directory if it is set.
	* Source/NSTableView.m (-validateEditing): Check _isValidating to
	prevent recursive calls into validateEditing.
	* Source/NSTabView.m (-initWithCoder:): Set _selected_item to
	NSNotFound.
	* Source/NSView.m (-addSubview:): Do not throw an exception when
	adding a nil subview, just ignore it.  This matches behavior on
	Cocoa.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35562 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2012-09-11 04:16:51 +00:00
parent d626f790f9
commit 22f55b8c28
7 changed files with 38 additions and 4 deletions

View file

@ -558,6 +558,8 @@
{
self = [super initWithCoder: aDecoder];
_selected_item = NSNotFound;
if ([aDecoder allowsKeyedCoding])
{
if ([aDecoder containsValueForKey: @"NSAllowTruncatedLabels"])