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
|
focus: true
|
||||||
wrapMode: TextEdit.WrapAnywhere
|
wrapMode: TextEdit.WrapAnywhere
|
||||||
onTextChanged: valid = verify(text)
|
onTextChanged: valid = verify(text)
|
||||||
|
inputMethodHints: Qt.ImhSensitiveData | Qt.ImhNoPredictiveText
|
||||||
}
|
}
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
Layout.alignment: Qt.AlignTop
|
Layout.alignment: Qt.AlignTop
|
||||||
|
|||||||
@@ -119,6 +119,7 @@ WizardComponent {
|
|||||||
if (activeFocus)
|
if (activeFocus)
|
||||||
verifyMasterKey(text)
|
verifyMasterKey(text)
|
||||||
}
|
}
|
||||||
|
inputMethodHints: Qt.ImhSensitiveData | Qt.ImhNoPredictiveText
|
||||||
}
|
}
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
ToolButton {
|
ToolButton {
|
||||||
|
|||||||
@@ -40,6 +40,7 @@ WizardComponent {
|
|||||||
focus: true
|
focus: true
|
||||||
wrapMode: TextEdit.WrapAnywhere
|
wrapMode: TextEdit.WrapAnywhere
|
||||||
onTextChanged: valid = verify(text)
|
onTextChanged: valid = verify(text)
|
||||||
|
inputMethodHints: Qt.ImhSensitiveData | Qt.ImhNoPredictiveText
|
||||||
}
|
}
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
Layout.alignment: Qt.AlignTop
|
Layout.alignment: Qt.AlignTop
|
||||||
|
|||||||
Reference in New Issue
Block a user