projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Basic pass-through of font information when using DCP subtitles.
[dcpomatic.git]
/
src
/
wx
/
fonts_dialog.cc
diff --git
a/src/wx/fonts_dialog.cc
b/src/wx/fonts_dialog.cc
index 1edfcf100821bbbaa48e2539cb66dcea31980fcc..99d570263c12a88dcccb486a3fea70e23890b5a6 100644
(file)
--- a/
src/wx/fonts_dialog.cc
+++ b/
src/wx/fonts_dialog.cc
@@
-89,7
+89,7
@@
FontsDialog::setup ()
wxListItem item;
item.SetId (n);
_fonts->InsertItem (item);
wxListItem item;
item.SetId (n);
_fonts->InsertItem (item);
- _fonts->SetItem (n, 0,
(*i)->id.get_value_or (wx_to_std (_("[Default]"))
));
+ _fonts->SetItem (n, 0,
std_to_wx ((*i)->id
));
if ((*i)->file) {
_fonts->SetItem (n, 1, (*i)->file.get().leaf().string ());
}
if ((*i)->file) {
_fonts->SetItem (n, 1, (*i)->file.get().leaf().string ());
}