Really cancel key import when clicking "Cancel"
This commit is contained in:
@@ -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()
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user