parent
edb4af0d1a
commit
cd7ccd833d
|
@ -257,13 +257,18 @@ Pane {
|
||||||
|
|
||||||
ConfirmationDialog {
|
ConfirmationDialog {
|
||||||
id: removeContactConfirmationDialog
|
id: removeContactConfirmationDialog
|
||||||
header.title: qsTr("Remove contact '%1'").arg(d.mainDisplayName)
|
header.title: qsTr("Remove '%1' as a contact").arg(d.mainDisplayName)
|
||||||
confirmationText: qsTr("This will remove the user as a contact. Please confirm.")
|
confirmationText: qsTr("This will mean that you and '%1' will no longer be able to send direct messages to each other. You will need to send them a new Contact Request in order to message again. All previous direct messages between you and '%1' will be retained in read-only mode.").arg(d.mainDisplayName)
|
||||||
|
showCancelButton: true
|
||||||
|
cancelBtnType: ""
|
||||||
onConfirmButtonClicked: {
|
onConfirmButtonClicked: {
|
||||||
root.contactsStore.removeContact(root.publicKey)
|
root.contactsStore.removeContact(root.publicKey)
|
||||||
close()
|
close()
|
||||||
d.reload()
|
d.reload()
|
||||||
}
|
}
|
||||||
|
onCancelButtonClicked: {
|
||||||
|
removeContactConfirmationDialog.close();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ConfirmationDialog {
|
ConfirmationDialog {
|
||||||
|
|
Loading…
Reference in New Issue