Corrections to the outline view and the table view.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14148 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
gcasa 2002-07-14 23:44:48 +00:00
parent 7c67f5f344
commit 374d957711
3 changed files with 39 additions and 22 deletions

View file

@ -2729,7 +2729,6 @@ _isCellEditable (id delegate, NSArray *tableColumns,
{
{
NSTableColumn *tb;
tb = [tableColumns objectAtIndex: column];
if ([tableView _shouldEditTableColumn: tb
row: row] == NO)
@ -6588,6 +6587,7 @@ byExtendingSelection: (BOOL)flag
column: (int)column
{
int i, j;
if (row > -1)
{
// First look for cells in the same row
@ -6605,7 +6605,7 @@ byExtendingSelection: (BOOL)flag
{
for (j = 0; j < _numberOfColumns; j++)
{
if (_isCellEditable (_delegate, _tableColumns, self, row, i) == YES)
if (_isCellEditable (_delegate, _tableColumns, self, i, j) == YES)
{
[self editColumn: j row: i withEvent: nil select: YES];
return YES;