소스 검색

Fixes https://github.com/cryptomator/cryptomator/issues/887
Set text in password field to null when they get swiped

Ralph Plawetzki 6 년 전
부모
커밋
31dd78ee28
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      main/ui/src/main/java/org/cryptomator/ui/controls/SecPasswordField.java

+ 1 - 0
main/ui/src/main/java/org/cryptomator/ui/controls/SecPasswordField.java

@@ -249,6 +249,7 @@ public class SecPasswordField extends PasswordField {
 	public void swipe() {
 		swipe(content);
 		length = 0;
+		setText(null);
 	}
 
 	private void swipe(char[] buffer) {