2
0
Fork 0

Fix password field manipulation bugs.

[FIXED]     By stubbing the password field's document, we broke some editing capabilities. Stub the document in a way that respects its length.
This commit is contained in:
Maarten Billemont 2021-03-02 19:31:47 -05:00
parent c38f713f05
commit 8d33ff8ec5
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ public abstract class Components {
@Override
public String getString(final int where, final int len)
throws BadLocationException {
return "";
return new String( new char[this.length()] );
}
} ), null, 0 ) {
{