mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-30 15:33:35 +00:00
Fix for placeholder strings showing up as bullets in CPSecureTextField.
Closes #7. Reviewed by me.
This commit is contained in:
@@ -753,10 +753,12 @@ CPTextFieldStatePlaceholder = 1 << 13;
|
||||
if (_controlState & CPTextFieldStatePlaceholder)
|
||||
string = [self placeholderString];
|
||||
else
|
||||
{
|
||||
string = [self stringValue];
|
||||
|
||||
if ([self isSecure])
|
||||
string = secureStringForString(string);
|
||||
if ([self isSecure])
|
||||
string = secureStringForString(string);
|
||||
}
|
||||
|
||||
[contentView setText:string];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user