mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 12:00:52 +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
|
@ -1,3 +1,11 @@
|
|||
2002-03-22 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
|
||||
|
||||
* Source/NSTableView.m
|
||||
([NSTableView -selectRow:byExtendingSelection:]):
|
||||
rowIndex == _numberOfRows was not catched as invalid.
|
||||
* Source/NSTableView.m ([NSTableView -draggingUpdated:sender]):
|
||||
Less NSLog.
|
||||
|
||||
2002-03-21 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
|
||||
|
||||
* Source/NSEvent.m
|
||||
|
|
|
@ -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…
Reference in a new issue