qml: WCHaveMasterKey: (fix) re-verify text in onTextChanged
fixes https://github.com/spesmilo/electrum/issues/8853 This is a bit ugly, but activeFocus is declared as final and cannot be overridden directly... ``` 1.42 | W | gui.qml.qeapp | file:///home/user/wspace/electrum/electrum/gui/qml/components/controls/ElTextArea.qml:23:5: Cannot override FINAL property ```
This commit is contained in:
@@ -129,8 +129,9 @@ WizardComponent {
|
||||
font.family: FixedFont
|
||||
wrapMode: TextEdit.WrapAnywhere
|
||||
onTextChanged: {
|
||||
if (activeFocus)
|
||||
if (anyActiveFocus) {
|
||||
verifyMasterKey(text)
|
||||
}
|
||||
}
|
||||
inputMethodHints: Qt.ImhSensitiveData | Qt.ImhNoPredictiveText | Qt.ImhNoAutoUppercase
|
||||
background: PaneInsetBackground {
|
||||
|
||||
Reference in New Issue
Block a user