mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 21:00:47 +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
4fa33c8a8c
commit
56b8763506
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>
|
2002-03-21 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
|
||||||
|
|
||||||
* Source/NSEvent.m
|
* Source/NSEvent.m
|
||||||
|
|
|
@ -3518,7 +3518,7 @@ byExtendingSelection: (BOOL)flag
|
||||||
{
|
{
|
||||||
NSNumber *num = [NSNumber numberWithInt: rowIndex];
|
NSNumber *num = [NSNumber numberWithInt: rowIndex];
|
||||||
|
|
||||||
if (rowIndex < 0 || rowIndex > _numberOfRows)
|
if (rowIndex < 0 || rowIndex >= _numberOfRows)
|
||||||
{
|
{
|
||||||
[NSException raise: NSInvalidArgumentException
|
[NSException raise: NSInvalidArgumentException
|
||||||
format: @"Row index out of table in selectRow"];
|
format: @"Row index out of table in selectRow"];
|
||||||
|
@ -6777,7 +6777,6 @@ byExtendingSelection: (BOOL)flag
|
||||||
if ((quarterPosition - oldDropRow * 4 <= 2) &&
|
if ((quarterPosition - oldDropRow * 4 <= 2) &&
|
||||||
(quarterPosition - oldDropRow * 4 >= -3) )
|
(quarterPosition - oldDropRow * 4 >= -3) )
|
||||||
{
|
{
|
||||||
NSLog(@"nothing to do");
|
|
||||||
row = oldDropRow;
|
row = oldDropRow;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue