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 { SelectMasterKey {
height: Constants.addAccountPopup.contentHeight1 height: Constants.addAccountPopup.contentHeight1
store: root.store store: root.store
onContinueOnKeycard: {
root.close()
}
} }
} }
} }

View File

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