mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-22 22:20:44 +00:00
Correction for bug#15987
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@22595 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b434b37722
commit
33c6e0ce88
2 changed files with 6 additions and 7 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-03-04 19:44 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* Palettes/3Containers/GormTableViewEditor.m: Correction for
|
||||
bug#15987.
|
||||
|
||||
2006-02-22 22:52 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* Gorm.m: Overide arrangeInFront: so that when testing the interface
|
||||
|
|
|
@ -135,14 +135,8 @@ static NSText *_textObject;
|
|||
{
|
||||
NSDebugLog(@"no column to delete");
|
||||
}
|
||||
else
|
||||
if ([tableView numberOfColumns] <= 1)
|
||||
else if([[selection objectAtIndex: 0] isKindOfClass: [NSTableColumn class]])
|
||||
{
|
||||
NSDebugLog(@"can't delete last column");
|
||||
}
|
||||
else
|
||||
{
|
||||
NSDebugLog(@"FIXME: remove the tableColumn from toplevel"); // FIXME
|
||||
[tableView removeTableColumn: [selection objectAtIndex: 0]];
|
||||
[tableView deselectAll: self];
|
||||
[self selectObjects: [NSArray array]];
|
||||
|
|
Loading…
Reference in a new issue