qml: fix display validation error in WCHaveSeed
This commit is contained in:
@@ -87,10 +87,10 @@ WizardComponent {
|
|||||||
if (seed_variant_cb.currentValue == 'electrum') {
|
if (seed_variant_cb.currentValue == 'electrum') {
|
||||||
apply()
|
apply()
|
||||||
if (wiz.hasDuplicateMasterKeys(wizard_data)) {
|
if (wiz.hasDuplicateMasterKeys(wizard_data)) {
|
||||||
validationtext.text = qsTr('Error: duplicate master public key')
|
_validationMessage = qsTr('Error: duplicate master public key')
|
||||||
return
|
return
|
||||||
} else if (wiz.hasHeterogeneousMasterKeys(wizard_data)) {
|
} 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
|
return
|
||||||
} else {
|
} else {
|
||||||
_seedValid = true
|
_seedValid = true
|
||||||
|
|||||||
Reference in New Issue
Block a user