Index: sources/gui/qml/pages/UserConfirmation.qml =================================================================== diff -u -r7077e38c74db9cccb5496ffefcf8936c0916de76 -r56ad953ae404fcf6956bd4f76b7a54b12d0285d3 --- sources/gui/qml/pages/UserConfirmation.qml (.../UserConfirmation.qml) (revision 7077e38c74db9cccb5496ffefcf8936c0916de76) +++ sources/gui/qml/pages/UserConfirmation.qml (.../UserConfirmation.qml) (revision 56ad953ae404fcf6956bd4f76b7a54b12d0285d3) @@ -30,8 +30,11 @@ objectName : "UserConfirmation" // SquishQt testability property bool isPassword: false - property string password: _password.textInput.text + readonly property string password: _password.textInput.text property alias message : _message.text + function clearPassword() { + _password.textInput.text = "" + } firstFocusInput : isPassword ? _password : undefined TextEntry { id : _password @@ -58,6 +61,7 @@ height : Variables.iconsDiameter source : "qrc:/images/iEye" } + MouseArea { anchors.fill: _showPassword onPressed : _password.textInput.echoMode = TextInput.Normal