Browse Source

qml: fix display validation error in WCHaveSeed

master
Sander van Grieken 1 year ago
parent
commit
6bc15e21ba
No known key found for this signature in database
GPG Key ID: 9BCF8209EA402EBA
  1. 4
      electrum/gui/qml/components/wizard/WCHaveSeed.qml

4
electrum/gui/qml/components/wizard/WCHaveSeed.qml

@ -87,10 +87,10 @@ WizardComponent {
if (seed_variant_cb.currentValue == 'electrum') {
apply()
if (wiz.hasDuplicateMasterKeys(wizard_data)) {
validationtext.text = qsTr('Error: duplicate master public key')
_validationMessage = qsTr('Error: duplicate master public key')
return
} else if (wiz.hasHeterogeneousMasterKeys(wizard_data)) {
validationtext.text = qsTr('Error: master public key types do not match')
_validationMessage = qsTr('Error: master public key types do not match')
return
} else {
_seedValid = true

Loading…
Cancel
Save