From: Carl Hetherington Date: Tue, 23 May 2017 10:53:01 +0000 (+0100) Subject: Fix find-missing-content. X-Git-Tag: v2.11.7~4 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=494c263c852d1e37be809920cb72e76a29c4ef08 Fix find-missing-content. --- diff --git a/src/wx/content_menu.cc b/src/wx/content_menu.cc index 429699956..174d625b8 100644 --- a/src/wx/content_menu.cc +++ b/src/wx/content_menu.cc @@ -300,7 +300,11 @@ ContentMenu::find_missing () list > content; if (r == wxID_OK) { - content = content_factory (film, path); + if (dc) { + content.push_back (shared_ptr (new DCPContent (film, path))); + } else { + content = content_factory (film, path); + } } if (content.empty ()) { @@ -355,7 +359,7 @@ ContentMenu::maybe_found_missing (weak_ptr j, weak_ptr oc, weak_pt return; } - old_content->set_path (new_content->path (0)); + old_content->set_paths (new_content->paths()); } void