Make text field KVO compliant again.

This commit is contained in:
Ross Boucher committed 2009-10-28 20:20:33 -07:00
1 parent 4248348308
commit 9f2ea190fc
1 file changed
+2
+2
View File
@@ -701,8 +701,10 @@ CPTextFieldStatePlaceholder = CPThemeState("placeholder");
*/
- (void)_setStringValue:(id)aValue
{
[self willChangeValueForKey:@"objectValue"];
[super setObjectValue:String(aValue)];
[self _updatePlaceholderState];
[self didChangeValueForKey:@"objectValue"];
}
- (void)setObjectValue:(id)aValue