Commit fee28d88 authored by Karel Slaný's avatar Karel Slaný
Browse files

Set passwordMaskDelay to all password fields.

parent fb7a4735
......@@ -148,10 +148,11 @@ ApplicationWindow {
TextField {
id: pinCodeInput
echoMode: TextInput.Password
anchors.horizontalCenter: parent.horizontalCenter
horizontalAlignment: TextInput.AlignHCenter
passwordMaskDelay: 500 // milliseconds
inputMethodHints: Qt.ImhDigitsOnly
placeholderText: qsTr("Enter PIN code")
anchors.horizontalCenter: parent.horizontalCenter
horizontalAlignment: TextInput.AlignHCenter
}
Text {
id: wrongPin
......
......@@ -154,6 +154,7 @@ Component {
id: passwordTextField
width: myWidht
echoMode: TextInput.Password
passwordMaskDelay: 500 // milliseconds
placeholderText: qsTr("Enter password")
}
}
......
......@@ -269,9 +269,10 @@ Component {
id: ipinCodeString
visible: false
width: myWidht
echoMode: TextInput.PasswordEchoOnEdit
echoMode: TextInput.Password
passwordMaskDelay: 500 // milliseconds
inputMethodHints: Qt.ImhDigitsOnly
placeholderText: qsTr("Enter PIN")
placeholderText: qsTr("Enter PIN code")
}
}
Connections {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment