diff --git a/electrum/gui/qml/components/wizard/WCHaveSeed.qml b/electrum/gui/qml/components/wizard/WCHaveSeed.qml index 6fe39f1e8..596b7ddce 100644 --- a/electrum/gui/qml/components/wizard/WCHaveSeed.qml +++ b/electrum/gui/qml/components/wizard/WCHaveSeed.qml @@ -173,7 +173,7 @@ WizardComponent { placeholderText: cosigner ? qsTr('Enter cosigner seed') : qsTr('Enter your seed') onTextChanged: { - validationTimer.restart() + startValidationTimer() } Rectangle { @@ -207,7 +207,7 @@ WizardComponent { id: extendcb Layout.columnSpan: 2 text: qsTr('Extend seed with custom words') - onCheckedChanged: validationTimer.restart() + onCheckedChanged: startValidationTimer() } TextField { id: customwordstext @@ -215,7 +215,7 @@ WizardComponent { Layout.fillWidth: true Layout.columnSpan: 2 placeholderText: qsTr('Enter your custom word(s)') - onTextChanged: validationTimer.restart() + onTextChanged: startValidationTimer() } } } @@ -226,6 +226,12 @@ WizardComponent { onValidationMessageChanged: validationtext.text = validationMessage } + function startValidationTimer() { + valid = false + contentText.text = '' + validationTimer.restart() + } + Timer { id: validationTimer interval: 500