Skip to content

Commit

Permalink
fix extra password fields, #4637
Browse files Browse the repository at this point in the history
  • Loading branch information
hansva committed Nov 29, 2024
1 parent cabce69 commit 613c293
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,7 @@ public String open() {
fdlSecretKey.top = new FormAttachment(lastControl, margin);
fdlSecretKey.right = new FormAttachment(middle, -margin);
wlSecretKey.setLayoutData(fdlSecretKey);
wSecretKey = new TextVar(variables, shell, SWT.SINGLE | SWT.LEFT | SWT.BORDER);
wSecretKey.setEchoChar('*');
wSecretKey = new TextVar(variables, shell, SWT.SINGLE | SWT.LEFT | SWT.BORDER | SWT.PASSWORD);
PropsUi.setLook(wSecretKey);
FormData fdSecretKey = new FormData();
fdSecretKey.left = new FormAttachment(middle, 0);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,7 @@ public String open() {
fdlAccessKey.top = new FormAttachment(lastControl, margin);
fdlAccessKey.right = new FormAttachment(middle, -margin);
wlAccessKey.setLayoutData(fdlAccessKey);
wAccessKey = new TextVar(variables, shell, SWT.SINGLE | SWT.LEFT | SWT.BORDER);
wAccessKey.setEchoChar('*');
wAccessKey = new TextVar(variables, shell, SWT.SINGLE | SWT.LEFT | SWT.BORDER | SWT.PASSWORD);
PropsUi.setLook(wAccessKey);
FormData fdAccessKey = new FormData();
fdAccessKey.left = new FormAttachment(middle, 0);
Expand All @@ -139,8 +138,7 @@ public String open() {
fdlSecretKey.top = new FormAttachment(lastControl, margin);
fdlSecretKey.right = new FormAttachment(middle, -margin);
wlSecretKey.setLayoutData(fdlSecretKey);
wSecretKey = new TextVar(variables, shell, SWT.SINGLE | SWT.LEFT | SWT.BORDER);
wSecretKey.setEchoChar('*');
wSecretKey = new TextVar(variables, shell, SWT.SINGLE | SWT.LEFT | SWT.BORDER | SWT.PASSWORD);
PropsUi.setLook(wSecretKey);
FormData fdSecretKey = new FormData();
fdSecretKey.left = new FormAttachment(middle, 0);
Expand Down

0 comments on commit 613c293

Please sign in to comment.