X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Fwx%2Fscreen_dialog.cc;h=716f9e9eb3db91dbdb16546a19447e0084e0558f;hp=58ea8a3285119a184a2d9441a30a081c25bd44d6;hb=c103d8c1306e5fb3937b3a6c430a3fff32653fa3;hpb=5c48efdde34ee11f135ea8b369d85d50d1410445 diff --git a/src/wx/screen_dialog.cc b/src/wx/screen_dialog.cc index 58ea8a328..716f9e9eb 100644 --- a/src/wx/screen_dialog.cc +++ b/src/wx/screen_dialog.cc @@ -70,7 +70,7 @@ public: _certificate = dcp::Certificate(dcp::file_to_string(wx_to_std(d->GetPath()))); _thumbprint->SetValue (std_to_wx(_certificate->thumbprint())); } catch (dcp::MiscError& e) { - error_dialog (this, wxString::Format(_("Could not load certficate (%s)"), std_to_wx(e.what()))); + error_dialog(this, wxString::Format(_("Could not load certificate (%s)"), std_to_wx(e.what()))); } } } @@ -178,8 +178,8 @@ ScreenDialog::ScreenDialog ( [] (TrustedDevice const& d, int) { return d.thumbprint(); }, - EditableListButton::NEW | EditableListButton::EDIT | EditableListButton::REMOVE, - false + EditableListTitle::INVISIBLE, + EditableListButton::NEW | EditableListButton::EDIT | EditableListButton::REMOVE ); _sizer->Add (_trusted_device_list, wxGBPosition (r, 0), wxGBSpan (1, 3), wxEXPAND);