* Source/NSTableView (_editNextCellAfterRow:inColumn:):

Wrap around when number of rows is exceeded.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24019 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Matt Rice 2006-11-03 09:44:05 +00:00
parent 47363b2182
commit a138f13d9c
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2006-11-02 Matt Rice <ratmice@yahoo.com>
* Source/NSTableView (_editNextCellAfterRow:inColumn:):
Wrap around when number of rows is exceeded.
2006-11-02 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSTheme.m:

View file

@ -5559,7 +5559,7 @@ static inline float computePeriod(NSPoint mouseLocationWin,
- (void) _editNextCellAfterRow:(int)row inColumn:(int)column
{
if (++row >= _numberOfColumns)
if (++row >= _numberOfRows)
row = 0;
if ([self _shouldSelectRow:row])