diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-01-17 01:31:38 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-01-22 14:34:25 +0100 |
| commit | 5e10a6f047d12f1e2e3d0e2f8ee30f93897a2227 (patch) | |
| tree | c3daccbbf2291d6330df2c2f6d99bf34fcb2e288 /src/wx/recipients_panel.cc | |
| parent | c29ba2526337b486d4a3b1a1468513a22293bc87 (diff) | |
Allow KDMRecipient and hence Screen to convert certs to dcp::Certificate lazily.
This is pretty slow (as it runs the certificate through OpenSSL) and we
don't need to do it for every certificate in a database when we load the
database.
Diffstat (limited to 'src/wx/recipients_panel.cc')
| -rw-r--r-- | src/wx/recipients_panel.cc | 4 |
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())); } |
