1
0

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

related: https://github.com/spesmilo/electrum/issues/8256
This commit is contained in:
SomberNight
2023-03-17 17:09:01 +00:00
parent 231ea5d03b
commit a90bff4586
3 changed files with 3 additions and 0 deletions

View File

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

View File

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

View File

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