mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 17:30:38 +00:00
* 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:
parent
3d6a83fff3
commit
6dae098147
2 changed files with 11 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue