summaryrefslogtreecommitdiff
path: root/src/wx/recipients_panel.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/recipients_panel.cc')
-rw-r--r--src/wx/recipients_panel.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/recipients_panel.cc b/src/wx/recipients_panel.cc
index 33b715260..ff19c0227 100644
--- a/src/wx/recipients_panel.cc
+++ b/src/wx/recipients_panel.cc
@@ -149,14 +149,14 @@ RecipientsPanel::edit_recipient_clicked ()
recipient->name,
recipient->notes,
recipient->emails,
- recipient->recipient
+ recipient->recipient()
);
if (dialog.ShowModal() == wxID_OK) {
recipient->name = dialog.name();
recipient->emails = dialog.emails();
recipient->notes = dialog.notes();
- recipient->recipient = dialog.recipient();
+ recipient->set_recipient(dialog.recipient());
recipients.update_dkdm_recipient(recipient_id, *recipient);
_targets->SetItemText(selection.first, std_to_wx(dialog.name()));
}