1
0

qml wizard: "confirm seed" screen to normalize whitespaces

fixes https://github.com/spesmilo/electrum/issues/8442
This commit is contained in:
SomberNight
2023-05-17 15:19:41 +00:00
parent fd41308c6b
commit e9475345e4
5 changed files with 43 additions and 3 deletions

View File

@@ -13,7 +13,7 @@ WizardComponent {
valid: false
function checkValid() {
var seedvalid = confirm.text == wizard_data['seed']
var seedvalid = wizard.wiz.isMatchingSeed(wizard_data['seed'], confirm.text)
var customwordsvalid = customwordstext.text == wizard_data['seed_extra_words']
valid = seedvalid && (wizard_data['seed_extend'] ? customwordsvalid : true)
}