mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
Fix issues mentioned by @fredkiefer
This commit is contained in:
parent
bb2c12d74a
commit
118eb26a5f
2 changed files with 2 additions and 13 deletions
|
@ -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)
|
||||
|
|
|
@ -6786,6 +6786,7 @@ For a more detailed explanation, -setSortDescriptors:. */
|
|||
return [cell isEditable];
|
||||
}
|
||||
}
|
||||
|
||||
- (void) _willDisplayCell: (NSCell*)cell
|
||||
forTableColumn: (NSTableColumn *)tb
|
||||
row: (NSInteger)index
|
||||
|
|
Loading…
Reference in a new issue