diff --git a/electrum/gui/qml/components/WizardComponents.qml b/electrum/gui/qml/components/WizardComponents.qml index dcd5b4afe..e367dcc50 100644 --- a/electrum/gui/qml/components/WizardComponents.qml +++ b/electrum/gui/qml/components/WizardComponents.qml @@ -116,6 +116,7 @@ Item { onAccept: { wizard_data['seed'] = seedtext.text + wizard_data['seed_type'] = 'segwit' wizard_data['seed_extend'] = extendcb.checked wizard_data['seed_extra_words'] = extendcb.checked ? customwordstext.text : '' } @@ -124,7 +125,15 @@ Item { width: parent.width columns: 1 - Label { text: qsTr('Generated Seed') } + TextArea { + id: warningtext + readOnly: true + Layout.fillWidth: true + wrapMode: TextInput.WordWrap + textFormat: TextEdit.RichText + background: Rectangle { color: "transparent" } + } + Label { text: qsTr('Your wallet generation seed is:') } TextArea { id: seedtext readOnly: true @@ -155,7 +164,23 @@ Item { Bitcoin { id: bitcoin - onGeneratedSeedChanged: seedtext.text = generated_seed + onGeneratedSeedChanged: { + seedtext.text = generated_seed + + var t = [ + "
", + qsTr("Please save these %1 words on paper (order is important). ").arg(generated_seed.split(" ").length), + qsTr("This seed will allow you to recover your wallet in case of computer failure."), + "
", + "" + qsTr("WARNING") + ":", + "