mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 15:11:37 +00:00
* Source/NSTableView.m (_isCellEditableColumn:row:): Allow
delegate to limit editablility of editable columns. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23599 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
183c8411a5
commit
c0f89a63f2
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-09-23 Matt Rice <ratmice@yahoo.com>
|
||||
|
||||
* Source/NSTableView.m (_isCellEditableColumn:row:): Allow
|
||||
delegate to limit editablility of editable columns.
|
||||
|
||||
2006-09-23 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/GSWindowDecorationView.m: coimment out dubious change.
|
||||
|
|
|
@ -6026,13 +6026,13 @@ static inline float computePeriod(NSPoint mouseLocationWin,
|
|||
|
||||
tableColumn = [_tableColumns objectAtIndex: columnIndex];
|
||||
// If the column is editable, the cell always is
|
||||
if (![tableColumn isEditable])
|
||||
if ([tableColumn isEditable])
|
||||
{
|
||||
// otherwise ask the delegate, if any.
|
||||
return [self _shouldEditTableColumn: tableColumn row: rowIndex];
|
||||
}
|
||||
|
||||
return YES;
|
||||
return NO;
|
||||
}
|
||||
|
||||
- (void) _willDisplayCell: (NSCell*)cell
|
||||
|
|
Loading…
Reference in a new issue