Small patches by Andreas Höschler to NSTableView and NSComboBoxCell.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22861 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fredkiefer 2006-05-05 22:41:40 +00:00
parent 4bf9149f5d
commit 1b60d6206b
3 changed files with 13 additions and 7 deletions

View file

@ -5363,6 +5363,8 @@ static inline float computePeriod(NSPoint mouseLocationWin,
// Otherwise, make the big cycle.
for (i = row + 1; i < _numberOfRows; i++)
{
// Need to select row to be able to edit it.
[self selectRow: i byExtendingSelection: NO];
for (j = 0; j < _numberOfColumns; j++)
{
if (_isCellEditable (_delegate, _tableColumns, self, i, j) == YES)
@ -5393,6 +5395,8 @@ static inline float computePeriod(NSPoint mouseLocationWin,
// Otherwise, make the big cycle.
for (i = row - 1; i > -1; i--)
{
// Need to select row to be able to edit it.
[self selectRow: i byExtendingSelection: NO];
for (j = _numberOfColumns - 1; j > -1; j--)
{
if (_isCellEditable (_delegate, _tableColumns, self, i, j) == YES)