mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
Fix NSFormCell NSContents decode for XIB5
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@40421 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3a6d9f829d
commit
fb5309e5f6
1 changed files with 5 additions and 0 deletions
|
@ -38,6 +38,7 @@
|
|||
#import "AppKit/NSButtonCell.h"
|
||||
#import "AppKit/NSCell.h"
|
||||
#import "AppKit/NSClipView.h"
|
||||
#import "AppKit/NSFormCell.h"
|
||||
#import "AppKit/NSImage.h"
|
||||
#import "AppKit/NSMatrix.h"
|
||||
#import "AppKit/NSMenu.h"
|
||||
|
@ -2168,6 +2169,10 @@ didStartElement: (NSString*)elementName
|
|||
{
|
||||
NSWarnMLog(@"called for a class that is NOT a sub-class of NSCell - class: %@", NSStringFromClass(class));
|
||||
}
|
||||
else if ([class isSubclassOfClass: [NSFormCell class]])
|
||||
{
|
||||
object = [element attributeForKey: @"stringValue"];
|
||||
}
|
||||
else
|
||||
{
|
||||
// Try the title attribute first as it's the common encoding...
|
||||
|
|
Loading…
Reference in a new issue