summaryrefslogtreecommitdiff
path: root/src/wx/config_dialog.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/config_dialog.cc')
-rw-r--r--src/wx/config_dialog.cc12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/wx/config_dialog.cc b/src/wx/config_dialog.cc
index c82956c60..a68f4576d 100644
--- a/src/wx/config_dialog.cc
+++ b/src/wx/config_dialog.cc
@@ -1410,11 +1410,13 @@ private:
table->Add (m, 0, flags, DCPOMATIC_SIZER_Y_GAP);
}
- _dcp_filename_format = new NameFormatEditor<dcp::FilenameFormat> (_panel, Config::instance()->dcp_filename_format());
- dcp::NameFormat::Map example;
- example["type"] = "j2c";
- example["id"] = "eb1c112c-ca3c-4ae6-9263-c6714ff05d64";
- _dcp_filename_format->set_example (example);
+ dcp::NameFormat::Map titles;
+ titles['t'] = "type (j2c/pcm/sub/cpl/pkl)";
+ titles['i'] = "unique ID";
+ dcp::NameFormat::Map examples;
+ examples['t'] = "j2c";
+ examples['i'] = "eb1c112c-ca3c-4ae6-9263-c6714ff05d64";
+ _dcp_filename_format = new NameFormatEditor<dcp::FilenameFormat> (_panel, Config::instance()->dcp_filename_format(), titles, examples);
table->Add (_dcp_filename_format->panel(), 1, wxEXPAND | wxALL);
#ifdef __WXOSX__