Fixing GormTableViewEditor issue which was causing an exception when no columns were selected.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@15862 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2003-02-03 01:52:08 +00:00
parent 719c82309b
commit 0169623822
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2003-02-02 Gregory John Casamento <greg_casamento@yahoo.com>
* Palettes/3Containers/GormTableViewEditor.m: missing
"else" was causing an exception to be thrown when attempting
to delete a column in NSTableView when nothing is selected.
2003-01-23 Gregory John Casamento <greg_casamento@yahoo.com>
* Gorm.m: Some general cleanup. Removed the startuptime

View file

@ -141,6 +141,7 @@ static NSText *_textObject;
{
NSLog(@"no column to delete");
}
else
if ([tableView numberOfColumns] <= 1)
{
NSLog(@"can't delete last column");