mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
Add correct key for the NSShadow object which is NSViewShadow
This commit is contained in:
parent
70019a695a
commit
468030a982
1 changed files with 3 additions and 3 deletions
|
@ -4615,7 +4615,7 @@ static NSView* findByTag(NSView *view, NSInteger aTag, NSUInteger *level)
|
|||
// Encode the shadow...
|
||||
if (_shadow != nil)
|
||||
{
|
||||
[aCoder encodeConditionalObject: _shadow forKey: @"NSShadow"];
|
||||
[aCoder encodeConditionalObject: _shadow forKey: @"NSViewShadow"];
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -4750,9 +4750,9 @@ static NSView* findByTag(NSView *view, NSInteger aTag, NSUInteger *level)
|
|||
}
|
||||
|
||||
// Decode the shadow...
|
||||
if ([aDecoder containsValueForKey: @"NSShadow"])
|
||||
if ([aDecoder containsValueForKey: @"NSViewShadow"])
|
||||
{
|
||||
_shadow = [aDecoder decodeObjectForKey: @"NSShadow"];
|
||||
_shadow = [aDecoder decodeObjectForKey: @"NSViewShadow"];
|
||||
}
|
||||
|
||||
// the superview...
|
||||
|
|
Loading…
Reference in a new issue