Browse Source

qml: mark masterkey/wif/addr input fields as sensitive

related: https://github.com/spesmilo/electrum/issues/8256
master
SomberNight 3 years ago
parent
commit
a90bff4586
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
  1. 1
      electrum/gui/qml/components/ImportAddressesKeysDialog.qml
  2. 1
      electrum/gui/qml/components/wizard/WCHaveMasterKey.qml
  3. 1
      electrum/gui/qml/components/wizard/WCImport.qml

1
electrum/gui/qml/components/ImportAddressesKeysDialog.qml

@ -64,6 +64,7 @@ ElDialog {
focus: true
wrapMode: TextEdit.WrapAnywhere
onTextChanged: valid = verify(text)
inputMethodHints: Qt.ImhSensitiveData | Qt.ImhNoPredictiveText
}
ColumnLayout {
Layout.alignment: Qt.AlignTop

1
electrum/gui/qml/components/wizard/WCHaveMasterKey.qml

@ -119,6 +119,7 @@ WizardComponent {
if (activeFocus)
verifyMasterKey(text)
}
inputMethodHints: Qt.ImhSensitiveData | Qt.ImhNoPredictiveText
}
ColumnLayout {
ToolButton {

1
electrum/gui/qml/components/wizard/WCImport.qml

@ -40,6 +40,7 @@ WizardComponent {
focus: true
wrapMode: TextEdit.WrapAnywhere
onTextChanged: valid = verify(text)
inputMethodHints: Qt.ImhSensitiveData | Qt.ImhNoPredictiveText
}
ColumnLayout {
Layout.alignment: Qt.AlignTop

Loading…
Cancel
Save