mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-23 19:51:00 +00:00
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:
parent
719c82309b
commit
0169623822
2 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -141,6 +141,7 @@ static NSText *_textObject;
|
|||
{
|
||||
NSLog(@"no column to delete");
|
||||
}
|
||||
else
|
||||
if ([tableView numberOfColumns] <= 1)
|
||||
{
|
||||
NSLog(@"can't delete last column");
|
||||
|
|
Loading…
Reference in a new issue