summaryrefslogtreecommitdiff
path: root/src/wx/content_menu.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-07-21 00:19:42 +0100
committerCarl Hetherington <cth@carlh.net>2014-07-21 00:19:42 +0100
commita368f20bf4d1354aa3db7614e19b692fcddaefca (patch)
treed4e09c049111ade20d110fc10d48c49cf03e54da /src/wx/content_menu.cc
parentd8d7ddd4c39e3ea347afd1fccc037d8b0a31bc87 (diff)
Save KDMs for imported DCPs to metadata.xml.
Diffstat (limited to 'src/wx/content_menu.cc')
-rw-r--r--src/wx/content_menu.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/content_menu.cc b/src/wx/content_menu.cc
index b396ceb41..741fc8283 100644
--- a/src/wx/content_menu.cc
+++ b/src/wx/content_menu.cc
@@ -249,7 +249,7 @@ ContentMenu::kdm ()
wxFileDialog* d = new wxFileDialog (_parent, _("Select KDM"));
if (d->ShowModal() == wxID_OK) {
- dcp->add_kdm (dcp::EncryptedKDM (wx_to_std (d->GetPath ())));
+ dcp->add_kdm (dcp::EncryptedKDM (dcp::file_to_string (wx_to_std (d->GetPath ()))));
shared_ptr<Film> film = _film.lock ();
assert (film);
film->examine_content (dcp);