mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 21:07:39 +00:00
* Source/GSNibLoading.m (NSCustomView -nibInstantiateWithCoder:):
Re-add call to -replaceObject:withObject: on decoder, but this time in the right place. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36329 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d1231704e8
commit
b9cd78229f
2 changed files with 9 additions and 0 deletions
|
@ -1093,6 +1093,9 @@ static BOOL _isInInterfaceBuilder = NO;
|
|||
NSEnumerator *en = nil;
|
||||
id v = nil;
|
||||
|
||||
// Tell the decoder that the object gets replaced before decoding subviews
|
||||
[(NSKeyedUnarchiver *)coder replaceObject: self withObject: _view];
|
||||
|
||||
prevKeyView = [coder decodeObjectForKey: @"NSPreviousKeyView"];
|
||||
nextKeyView = [coder decodeObjectForKey: @"NSNextKeyView"];
|
||||
if (nextKeyView != nil)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue