mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 23:40:38 +00:00
Source/NSTableView.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13191 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2de3301639
commit
db97da50e2
2 changed files with 9 additions and 2 deletions
|
@ -3518,7 +3518,7 @@ byExtendingSelection: (BOOL)flag
|
|||
{
|
||||
NSNumber *num = [NSNumber numberWithInt: rowIndex];
|
||||
|
||||
if (rowIndex < 0 || rowIndex > _numberOfRows)
|
||||
if (rowIndex < 0 || rowIndex >= _numberOfRows)
|
||||
{
|
||||
[NSException raise: NSInvalidArgumentException
|
||||
format: @"Row index out of table in selectRow"];
|
||||
|
@ -6777,7 +6777,6 @@ byExtendingSelection: (BOOL)flag
|
|||
if ((quarterPosition - oldDropRow * 4 <= 2) &&
|
||||
(quarterPosition - oldDropRow * 4 >= -3) )
|
||||
{
|
||||
NSLog(@"nothing to do");
|
||||
row = oldDropRow;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue