projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95dceb3
)
Potential fix for disappearing DCP names under translation.
author
Carl Hetherington
<cth@carlh.net>
Fri, 23 Sep 2016 18:23:59 +0000
(19:23 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 23 Sep 2016 18:23:59 +0000
(19:23 +0100)
src/wx/content_panel.cc
patch
|
blob
|
history
diff --git
a/src/wx/content_panel.cc
b/src/wx/content_panel.cc
index 5892d9c4cdb7a7127ff3db0dfb3a7e15e848780b..b28d9ca229fb88e8c730cd0585448b8c0c8570d9 100644
(file)
--- a/
src/wx/content_panel.cc
+++ b/
src/wx/content_panel.cc
@@
-501,7
+501,7
@@
ContentPanel::setup ()
bool const needs_kdm = dcp && dcp->needs_kdm ();
bool const needs_assets = dcp && dcp->needs_assets ();
-
string s = i->summary (
);
+
wxString s = std_to_wx (i->summary ()
);
if (!valid) {
s = _("MISSING: ") + s;
@@
-517,7
+517,7
@@
ContentPanel::setup ()
wxListItem item;
item.SetId (t);
- item.SetText (s
td_to_wx (s)
);
+ item.SetText (s);
item.SetData (i.get ());
_content->InsertItem (item);