diff --git a/AppKit/CPTextField.j b/AppKit/CPTextField.j index 17584e3afc..40ac8c58cf 100644 --- a/AppKit/CPTextField.j +++ b/AppKit/CPTextField.j @@ -708,6 +708,9 @@ var _CPTextFieldSquareBezelColor = nil, */ -(void)setPlaceholderString:(CPString)aStringValue { + if(_placeholderString && [self stringValue] === _placeholderString) + _value = @""; + _placeholderString = aStringValue; //if there is no set value, automatically display the placeholder