mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 18:11:06 +00:00
Cleanup setValue:forKey: and valueForKey:
This commit is contained in:
parent
c3146bae6b
commit
664fdada0c
1 changed files with 0 additions and 43 deletions
|
@ -3777,35 +3777,6 @@ static BOOL browserUseBezels;
|
|||
[self loadColumnZero];
|
||||
NSDebugLLog(@"NSBinding", @"Setting browser view content values to %@", anObject);
|
||||
}
|
||||
else if ([aKey isEqual: NSSelectionIndexesBinding])
|
||||
{
|
||||
/*
|
||||
if (_selectingColumns)
|
||||
{
|
||||
if (nil == anObject)
|
||||
{
|
||||
// [self _unselectAllColumns];
|
||||
}
|
||||
else
|
||||
{
|
||||
return [self selectColumnIndexes: anObject
|
||||
byExtendingSelection: NO];
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (nil == anObject)
|
||||
{
|
||||
[self _unselectAllRows];
|
||||
}
|
||||
else
|
||||
{
|
||||
return [self selectRowIndexes: anObject
|
||||
byExtendingSelection: NO];
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
else
|
||||
{
|
||||
[super setValue: anObject forKey: aKey];
|
||||
|
@ -3822,20 +3793,6 @@ static BOOL browserUseBezels;
|
|||
{
|
||||
return nil;
|
||||
}
|
||||
else if ([aKey isEqual: NSSelectionIndexesBinding])
|
||||
{
|
||||
/*
|
||||
if (_selectingColumns)
|
||||
{
|
||||
return nil; // [self selectedColumnIndexes];
|
||||
}
|
||||
else
|
||||
{
|
||||
return nil; // [self selectedRowIndexes];
|
||||
}
|
||||
*/
|
||||
return nil; // temporary...
|
||||
}
|
||||
else
|
||||
{
|
||||
return [super valueForKey: aKey];
|
||||
|
|
Loading…
Reference in a new issue