* Source/NSTableHeaderView.m (-initWithCoder:): Remove unneeded

"_tableView = nil" which was causing a problem with my xib file.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34319 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
ericwa 2011-12-18 23:57:39 +00:00
parent 3d6a83fff3
commit 6dae098147
2 changed files with 11 additions and 1 deletions

View file

@ -815,7 +815,12 @@
if (self == nil)
return nil;
_tableView = nil;
// NOTE: some xib's can have unintuitive load orders where
// the above -initWithCoder: call causes the receiver's assocaited
// table view to be loaded, which calls -[self setTableView:].
// So at this point, _tableView might already have been set,
// so we must not set it to nil here.
_resizedColumn = -1;
return self;