diff --git a/internal/frontend/bridge-gui/bridge-gui/qml/Proton/TextField.qml b/internal/frontend/bridge-gui/bridge-gui/qml/Proton/TextField.qml index 1e630ac5..b9295f25 100644 --- a/internal/frontend/bridge-gui/bridge-gui/qml/Proton/TextField.qml +++ b/internal/frontend/bridge-gui/bridge-gui/qml/Proton/TextField.qml @@ -114,6 +114,9 @@ FocusScope { function getText(start, end) { control.getText(start, end); } + function hidePassword() { + eyeButton.checked = false; + } function insert(position, text) { control.insert(position, text); } @@ -147,6 +150,9 @@ FocusScope { function selectWord() { control.selectWord(); } + function showPassword() { + eyeButton.checked = true; + } function undo() { control.undo(); } diff --git a/internal/frontend/bridge-gui/bridge-gui/qml/SetupWizard/Login.qml b/internal/frontend/bridge-gui/bridge-gui/qml/SetupWizard/Login.qml index 75cd78e0..abd405bc 100644 --- a/internal/frontend/bridge-gui/bridge-gui/qml/SetupWizard/Login.qml +++ b/internal/frontend/bridge-gui/bridge-gui/qml/SetupWizard/Login.qml @@ -44,6 +44,8 @@ FocusScope { } else { passwordTextField.forceActiveFocus(); } + passwordTextField.hidePassword(); + secondPasswordTextField.hidePassword(); } StackLayout {