lcl-cocoa: Had forgotten to add the special field editor to the secure text field

git-svn-id: trunk@46622 -
This commit is contained in:
sekelsenmat 2014-10-20 06:21:15 +00:00
parent a3b0246e61
commit 97fd5ef4d6

View File

@ -1094,7 +1094,8 @@ begin
fieldEditor := TCocoaFieldEditor.alloc.init;
fieldEditor.setFieldEditor(True);
end;
if client.isKindOfClass_(TCocoaTextField) then
if client.isKindOfClass_(TCocoaTextField) or
client.isKindOfClass_(TCocoaSecureTextField) then
begin
Result := fieldEditor;
end;