mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-22 22:20:44 +00:00
Minor correction in data palette.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@21403 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b742588aea
commit
793695920e
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-07-03 12:52 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* Palettes/4Data/main.m: Minor fix in
|
||||
depositViewResourceFromPasteboard: to prevent crash.
|
||||
|
||||
2005-07-03 12:26 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormCore/GormBoxEditor.m: Minor cleanup.
|
||||
|
|
|
@ -379,11 +379,11 @@ int defaultDateFormatIndex = 3;
|
|||
{
|
||||
if([array count] > 0)
|
||||
{
|
||||
id <IBDocuments> document = [(id<IB>)NSApp documentForObject: obj];
|
||||
id formatter = [array objectAtIndex: 0];
|
||||
if([obj respondsToSelector: @selector(setFormatter:)])
|
||||
{
|
||||
[obj setFormatter: formatter];
|
||||
[obj setFormatter: formatter];
|
||||
RETAIN(formatter);
|
||||
if ([formatter isMemberOfClass: [NSNumberFormatter class]])
|
||||
{
|
||||
id fieldValue = [NSNumber numberWithFloat: 1.123456789];
|
||||
|
|
Loading…
Reference in a new issue