mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
Set delegate correctly during decoding
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5567 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
fe990f712f
commit
7616ba78dd
1 changed files with 3 additions and 2 deletions
|
@ -65,7 +65,7 @@
|
|||
[_cell setSelectable: YES];
|
||||
[_cell setEnabled: YES];
|
||||
[_cell setEditable: YES];
|
||||
[self setDrawsBackground: YES];
|
||||
[_cell setDrawsBackground: YES];
|
||||
_text_object = nil;
|
||||
|
||||
return self;
|
||||
|
@ -444,8 +444,9 @@
|
|||
{
|
||||
[super initWithCoder: aDecoder];
|
||||
|
||||
_delegate = [aDecoder decodeObject];
|
||||
[self setDelegate: [aDecoder decodeObject]];
|
||||
[aDecoder decodeValueOfObjCType: @encode(SEL) at: &_error_action];
|
||||
_text_object = nil;
|
||||
|
||||
return self;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue