Add some default filenames (#1383).
authorCarl Hetherington <cth@carlh.net>
Wed, 17 Oct 2018 10:26:03 +0000 (11:26 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 17 Oct 2018 10:26:03 +0000 (11:26 +0100)
src/wx/config_dialog.cc

index 495785adff02266dc6432f89e5f0be730b275db9..4195aa128880de01777cb28301ec612256b6d6d3 100644 (file)
@@ -865,7 +865,7 @@ void
 KeysPage::export_decryption_chain ()
 {
        wxFileDialog* d = new wxFileDialog (
-               _panel, _("Select Chain File"), wxEmptyString, wxEmptyString, wxT ("PEM files (*.pem)|*.pem"),
+               _panel, _("Select Chain File"), wxEmptyString, _("dcpomatic_kdm_decryption_chain.pem"), wxT ("PEM files (*.pem)|*.pem"),
                wxFD_SAVE | wxFD_OVERWRITE_PROMPT
                );
 
@@ -886,7 +886,7 @@ void
 KeysPage::export_decryption_certificate ()
 {
        wxFileDialog* d = new wxFileDialog (
-               _panel, _("Select Certificate File"), wxEmptyString, wxEmptyString, wxT ("PEM files (*.pem)|*.pem"),
+               _panel, _("Select Certificate File"), wxEmptyString, _("dcpomatic_kdm_decryption_cert.pem"), wxT ("PEM files (*.pem)|*.pem"),
                wxFD_SAVE | wxFD_OVERWRITE_PROMPT
                );