Check in the control not in the text field whether the cell is currently

being edited.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26613 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fredkiefer 2008-06-09 10:04:49 +00:00
parent 3d9091f2d4
commit d2cdcf7415
4 changed files with 40 additions and 32 deletions

View file

@ -3254,9 +3254,9 @@ byExtendingSelection: (BOOL)flag
}
- (void) editColumn: (int) columnIndex
row: (int) rowIndex
withEvent: (NSEvent *) theEvent
select: (BOOL) flag
row: (int) rowIndex
withEvent: (NSEvent *) theEvent
select: (BOOL) flag
{
NSText *t;
NSTableColumn *tb;
@ -5188,7 +5188,7 @@ static BOOL selectContiguousRegion(NSTableView *self,
for (i = startingRow; i <= endingRow; i++)
{
(*imp)(self, sel, i, aRect);
(*imp)(self, sel, i, aRect);
}
}
}
@ -5924,10 +5924,10 @@ static BOOL selectContiguousRegion(NSTableView *self,
if ([self _isCellEditableColumn: column row:row])
{
[self editColumn: column
row: row
withEvent: nil
select: YES];
[self editColumn: column
row: row
withEvent: nil
select: YES];
}
}
}