fix(@wallet): close properly add account modal

fixes #11567
This commit is contained in:
Anthony Laibe 2023-07-24 12:04:54 +02:00 committed by Anthony Laibe
parent 9b8340b695
commit a6815a7ad2
2 changed files with 5 additions and 0 deletions

View File

@ -147,6 +147,9 @@ StatusModal {
SelectMasterKey {
height: Constants.addAccountPopup.contentHeight1
store: root.store
onContinueOnKeycard: {
root.close()
}
}
}
}

View File

@ -15,6 +15,7 @@ Item {
id: root
property AddAccountStore store
signal continueOnKeycard()
Column {
anchors.left: parent.left
@ -109,6 +110,7 @@ Item {
objectName: "AddAccountPopup-GoToKeycardSettings"
text: qsTr("Continue in Keycard settings")
onClicked: {
root.continueOnKeycard()
Global.changeAppSectionBySectionType(Constants.appSection.profile, Constants.settingsSubsection.keycard)
}
}