mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 17:52:42 +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
|
@ -1,3 +1,9 @@
|
|||
2013-03-10 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/GSNibLoading.m (NSCustomView -nibInstantiateWithCoder:):
|
||||
Re-add call to -replaceObject:withObject: on decoder, but this
|
||||
time in the right place.
|
||||
|
||||
2013-03-09 Eric Wasylishen <ewasylishen@gmail.com>
|
||||
|
||||
* Images/GNUmakefile:
|
||||
|
|
|
@ -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…
Reference in a new issue