mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-30 20:07:36 +00:00
Make text field KVO compliant again.
This commit is contained in:
1 parent
4248348308
commit
9f2ea190fc
1 file changed
+2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user