Browse Source

qml: force same auto-capitalizing behavior on PasswordField regardless of echoMode

master
Sander van Grieken 3 years ago
parent
commit
01c31edae2
  1. 2
      electrum/gui/qml/components/controls/PasswordField.qml

2
electrum/gui/qml/components/controls/PasswordField.qml

@ -14,7 +14,7 @@ RowLayout {
TextField {
id: password_tf
echoMode: TextInput.Password
inputMethodHints: Qt.ImhSensitiveData
inputMethodHints: Qt.ImhSensitiveData | Qt.ImhNoAutoUppercase | Qt.ImhPreferLowercase
Layout.fillWidth: true
Layout.minimumWidth: fontMetrics.advanceWidth('X') * 16
onAccepted: root.accepted()

Loading…
Cancel
Save