Skip to content
Snippets Groups Projects
Commit 0c3b4163 authored by Alexander's avatar Alexander
Browse files

[*] create wallet only when recovery data was copied

parent ab1b76d5
No related branches found
No related tags found
1 merge request!11Cellframe clone
......@@ -4,6 +4,9 @@ import QtQuick.Layouts 1.1
import "../"
DapUiQmlScreen {
property alias pressedNextButton: nextButton.pressed
property bool isWordsCopied: copyNotesButton.checked
id: recoveryNoteMenu
color: "#edeff2"
......
......@@ -3,6 +3,9 @@ import QtQuick.Controls 2.5
import QtQuick.Layouts 1.1
Rectangle {
property alias pressedNextButton: nextButton.pressed
property bool isQRCodeCopied: saveQrCodeButton.checked
id: recoveryQrMenu
color: "#edeff2"
......
......@@ -32,4 +32,20 @@ DapUiQmlScreenDialogAddWalletForm {
}
}
}
Connections {
target: rightPanel.content.currentItem
onPressedNextButtonChanged: {
if(rightPanel.content.currentItem.isWordsCopied || rightPanel.content.currentItem.isQRCodeCopied) {
rightPanel.header.push("DapUiQmlWalletCreatedHeader.qml", {"rightPanel": rightPanel });
rightPanel.content.push("DapUiQmlWalletCreated.qml", {"rightPanel": rightPanel} )
}
}
}
}
/*##^##
Designer {
D{i:0;autoSize:true;height:480;width:640}
}
##^##*/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment