From 494c263c852d1e37be809920cb72e76a29c4ef08 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 23 May 2017 11:53:01 +0100 Subject: Fix find-missing-content. --- src/wx/content_menu.cc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src') 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 -- cgit v1.2.3