Really cancel key import when clicking "Cancel"

This commit is contained in:
miruka
2020-03-21 12:43:16 -04:00
parent cb020ad479
commit 6662628b4e
2 changed files with 22 additions and 5 deletions

View File

@@ -17,6 +17,9 @@ BoxPopup {
onOpened: passwordField.forceActiveFocus()
signal cancelled()
property bool validateWhileTyping: false
property string acceptedPassword: ""
@@ -54,7 +57,10 @@ BoxPopup {
button.loading = false
})
},
cancel: button => { popup.close() },
cancel: button => {
popup.close()
cancelled()
},
})