mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 20:07:38 +00:00
* Source/NSTableView.m (-_numRows): Take column value binding into
consideration. * Source/NSTableColumn.m (-setValue:forKey:): Reload table data.
This commit is contained in:
parent
0d94a0bd91
commit
a4ec02e613
3 changed files with 17 additions and 1 deletions
|
@ -6724,6 +6724,16 @@ For a more detailed explanation, -setSortDescriptors:. */
|
|||
}
|
||||
else
|
||||
{
|
||||
NSTableColumn *tb = [_tableColumns objectAtIndex: 0];
|
||||
GSKeyValueBinding *theBinding;
|
||||
|
||||
theBinding = [GSKeyValueBinding getBinding: NSValueBinding
|
||||
forObject: tb];
|
||||
if (theBinding != nil)
|
||||
{
|
||||
return [[theBinding destinationValue] count];
|
||||
}
|
||||
|
||||
// FIXME
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue