mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-21 08:03:22 +00:00
* 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:
parent
47363b2182
commit
a138f13d9c
2 changed files with 6 additions and 1 deletions
|
@ -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])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue