mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 18:11:06 +00:00
Use better variable name for value key
This commit is contained in:
parent
5fd4ff0ffe
commit
56d6fa064f
1 changed files with 3 additions and 3 deletions
|
@ -3537,7 +3537,7 @@ static BOOL browserUseBezels;
|
|||
if (childrenKeyPath != nil)
|
||||
{
|
||||
NSString *leafKeyPath = [tc leafKeyPathForNode: item];
|
||||
NSString *keyPath = [self _keyPathForValueBinding];
|
||||
NSString *valueKeyPath = [self _keyPathForValueBinding];
|
||||
|
||||
// Iterate over the children for the item....
|
||||
for (i = 0; i < rows; i++)
|
||||
|
@ -3554,9 +3554,9 @@ static BOOL browserUseBezels;
|
|||
|
||||
// If a content values binding is present, it uses that key path,
|
||||
// but if one isn't it uses the description... per documentation.
|
||||
if (keyPath != nil)
|
||||
if (valueKeyPath != nil)
|
||||
{
|
||||
val = [child valueForKeyPath: keyPath];
|
||||
val = [child valueForKeyPath: valueKeyPath];
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue