summaryrefslogtreecommitdiff
path: root/src/wx/screen_dialog.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-03-13 02:48:32 +0000
committerCarl Hetherington <cth@carlh.net>2016-03-13 02:48:32 +0000
commit692f9e2951a8bf600f95bb0b76c18df71c881504 (patch)
tree740b3d2853bfd7ea47d86f4d20024a0647caec53 /src/wx/screen_dialog.cc
parent1a1d4b22589d5832dd594a65054d9261f9f496cf (diff)
Ignore empty KDM email addresses (#818).
Diffstat (limited to 'src/wx/screen_dialog.cc')
-rw-r--r--src/wx/screen_dialog.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/wx/screen_dialog.cc b/src/wx/screen_dialog.cc
index 705a7ff58..f640cdbc2 100644
--- a/src/wx/screen_dialog.cc
+++ b/src/wx/screen_dialog.cc
@@ -92,7 +92,13 @@ ScreenDialog::ScreenDialog (wxWindow* parent, string title, string name, optiona
vector<string> columns;
columns.push_back (wx_to_std (_("Thumbprint")));
_trusted_device_list = new EditableList<dcp::Certificate, CertificateFileDialogWrapper> (
- this, columns, bind (&ScreenDialog::trusted_devices, this), bind (&ScreenDialog::set_trusted_devices, this, _1), bind (&column, _1), false
+ this,
+ columns,
+ bind (&ScreenDialog::trusted_devices, this),
+ bind (&ScreenDialog::set_trusted_devices, this, _1),
+ bind (&always_valid),
+ bind (&column, _1),
+ false
);
_sizer->Add (_trusted_device_list, wxGBPosition (r, 0), wxGBSpan (1, 3), wxEXPAND);