mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 05:50:37 +00:00
Attempt to correct side effect of last NSActionCell change.
Small cleanup in NSCell. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29020 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8bd9424ef9
commit
40a81ac812
3 changed files with 49 additions and 34 deletions
|
@ -223,7 +223,10 @@ static Class controlClass;
|
|||
[self _updateFieldEditor:
|
||||
[(NSControl *)_control_view currentEditor]];
|
||||
}
|
||||
[(NSControl *)_control_view updateCell: self];
|
||||
else
|
||||
{
|
||||
[(NSControl *)_control_view updateCell: self];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -232,7 +235,7 @@ static Class controlClass;
|
|||
* Set the value of the receiver from aString.
|
||||
*/
|
||||
// This method is currently needed, as NSCells implementation
|
||||
// does not call setObjectValue:
|
||||
// sometimes does not call setObjectValue:
|
||||
- (void) setStringValue: (NSString*)aString
|
||||
{
|
||||
[super setStringValue: aString];
|
||||
|
@ -245,7 +248,10 @@ static Class controlClass;
|
|||
[self _updateFieldEditor:
|
||||
[(NSControl *)_control_view currentEditor]];
|
||||
}
|
||||
[(NSControl *)_control_view updateCell: self];
|
||||
else
|
||||
{
|
||||
[(NSControl *)_control_view updateCell: self];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue