diff --git a/electrum/gui/qml/components/controls/ElTextArea.qml b/electrum/gui/qml/components/controls/ElTextArea.qml index 7a90c4d65..eeb528abb 100644 --- a/electrum/gui/qml/components/controls/ElTextArea.qml +++ b/electrum/gui/qml/components/controls/ElTextArea.qml @@ -19,6 +19,7 @@ Flickable { property alias inputMethodHints: edit.inputMethodHints property alias placeholderText: edit.placeholderText property alias color: edit.color + readonly property bool anyActiveFocus: activeFocus || edit.activeFocus contentWidth: rootpane.width contentHeight: rootpane.height diff --git a/electrum/gui/qml/components/wizard/WCHaveMasterKey.qml b/electrum/gui/qml/components/wizard/WCHaveMasterKey.qml index c5a15c9ae..563109c26 100644 --- a/electrum/gui/qml/components/wizard/WCHaveMasterKey.qml +++ b/electrum/gui/qml/components/wizard/WCHaveMasterKey.qml @@ -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 {