mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 16:00:37 +00:00
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:
parent
4bf9149f5d
commit
1b60d6206b
3 changed files with 13 additions and 7 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue