mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-04 15:20:41 +00:00
Compare row against _numberOfRows not _numberOfColumns.
Patch by Tim Schmielau <tim@smmo.org>. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28379 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a225e27c0e
commit
fc7b0dd25d
2 changed files with 9 additions and 1 deletions
|
@ -1,4 +1,11 @@
|
||||||
|
2009-07-05 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
|
* Source/NSTableView.m (_editPreviousEditableCellBeforeRow:column:):
|
||||||
|
Compare row against _numberOfRows not _numberOfColumns.
|
||||||
|
Patch by Tim Schmielau <tim@smmo.org>.
|
||||||
|
|
||||||
2009-06-30 Nicolas Roard <nicolas@roard.com>
|
2009-06-30 Nicolas Roard <nicolas@roard.com>
|
||||||
|
|
||||||
* Source/NSTableHeaderView.m: Apply patch from Eric
|
* Source/NSTableHeaderView.m: Apply patch from Eric
|
||||||
Wasylishen <ewasylishen@gmail.com>, add live resize and
|
Wasylishen <ewasylishen@gmail.com>, add live resize and
|
||||||
live moving for table columns if GSUseGhostResize is
|
live moving for table columns if GSUseGhostResize is
|
||||||
|
|
|
@ -5987,7 +5987,8 @@ static BOOL selectContiguousRegion(NSTableView *self,
|
||||||
column: (int)column
|
column: (int)column
|
||||||
{
|
{
|
||||||
int i,j;
|
int i,j;
|
||||||
if (row < _numberOfColumns)
|
|
||||||
|
if (row < _numberOfRows)
|
||||||
{
|
{
|
||||||
// First look for cells in the same row
|
// First look for cells in the same row
|
||||||
for (j = column - 1; j > -1; j--)
|
for (j = column - 1; j > -1; j--)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue