qml: mark masterkey/wif/addr input fields as sensitive
related: https://github.com/spesmilo/electrum/issues/8256
This commit is contained in:
@@ -64,6 +64,7 @@ ElDialog {
|
||||
focus: true
|
||||
wrapMode: TextEdit.WrapAnywhere
|
||||
onTextChanged: valid = verify(text)
|
||||
inputMethodHints: Qt.ImhSensitiveData | Qt.ImhNoPredictiveText
|
||||
}
|
||||
ColumnLayout {
|
||||
Layout.alignment: Qt.AlignTop
|
||||
|
||||
@@ -119,6 +119,7 @@ WizardComponent {
|
||||
if (activeFocus)
|
||||
verifyMasterKey(text)
|
||||
}
|
||||
inputMethodHints: Qt.ImhSensitiveData | Qt.ImhNoPredictiveText
|
||||
}
|
||||
ColumnLayout {
|
||||
ToolButton {
|
||||
|
||||
@@ -40,6 +40,7 @@ WizardComponent {
|
||||
focus: true
|
||||
wrapMode: TextEdit.WrapAnywhere
|
||||
onTextChanged: valid = verify(text)
|
||||
inputMethodHints: Qt.ImhSensitiveData | Qt.ImhNoPredictiveText
|
||||
}
|
||||
ColumnLayout {
|
||||
Layout.alignment: Qt.AlignTop
|
||||
|
||||
Reference in New Issue
Block a user