Fix issues mentioned by @fredkiefer

This commit is contained in:
Gregory John Casamento 2024-08-11 16:40:37 -04:00
parent bb2c12d74a
commit 118eb26a5f
2 changed files with 2 additions and 13 deletions

View file

@ -660,19 +660,7 @@ to YES. */
GSKeyValueBinding *theBinding = nil;
NSFont *font = nil;
theBinding = [GSKeyValueBinding getBinding: NSEditableBinding
forObject: self];
if (theBinding != nil)
{
id result = nil;
BOOL flag = NO;
result = [(NSArray *)[theBinding destinationValue]
objectAtIndex: index];
flag = [result boolValue];
[cell setEditable: flag];
}
[cell setEditable: _is_editable];
theBinding = [GSKeyValueBinding getBinding: NSEnabledBinding
forObject: self];
if (theBinding != nil)

View file

@ -6786,6 +6786,7 @@ For a more detailed explanation, -setSortDescriptors:. */
return [cell isEditable];
}
}
- (void) _willDisplayCell: (NSCell*)cell
forTableColumn: (NSTableColumn *)tb
row: (NSInteger)index