diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-09-23 19:23:59 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-09-23 19:23:59 +0100 |
| commit | 31ec4f8c51e6e7b34910d6962bf79beeb92b3745 (patch) | |
| tree | 43bfdfb3207932d6878c64022af4558513b40bbe /src | |
| parent | 95dceb3e5e6ef810c4bfa31b63a2caa5a9145ced (diff) | |
Potential fix for disappearing DCP names under translation.
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/content_panel.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/content_panel.cc b/src/wx/content_panel.cc index 5892d9c4c..b28d9ca22 100644 --- 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 (std_to_wx (s)); + item.SetText (s); item.SetData (i.get ()); _content->InsertItem (item); |
