Correction for bug#15817

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@22521 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2006-02-20 14:08:15 +00:00
parent 8562675080
commit 21853c4d2c
2 changed files with 12 additions and 8 deletions

View file

@ -1,3 +1,9 @@
2006-02-20 08:54 Gregory John Casamento <greg_casamento@yahoo.com>
* GormCore/GormScrollViewEditor.m: Correction for bug#15817.
Returning only GormScrollViewEditor was causing an issue with
editing tables.
2006-02-19 12:07 Gregory John Casamento <greg_casamento@yahoo.com>
* Palettes/2Controls/GormTextFieldAttributesInspector.m: Correction

View file

@ -37,14 +37,12 @@
- (NSString*) editorClassName
{
// if ([[self documentView] isKindOfClass: [NSTableView class]])
// {
// return [[self documentView] editorClassName];
// }
// else
// {
return @"GormScrollViewEditor";
// }
if ([[self documentView] isKindOfClass: [NSTableView class]])
{
return [[self documentView] editorClassName];
}
return @"GormScrollViewEditor";
}
@end