diff options
| -rw-r--r-- | src/wx/controls.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/controls.cc b/src/wx/controls.cc index 8b2a17b09..f7573c28b 100644 --- a/src/wx/controls.cc +++ b/src/wx/controls.cc @@ -214,7 +214,7 @@ Controls::Controls (wxWindow* parent, shared_ptr<FilmViewer> viewer, bool editor void Controls::add_clicked () { - shared_ptr<Content> sel = selected_content (); + shared_ptr<Content> sel = selected_content()->clone(); DCPOMATIC_ASSERT (sel); _film->examine_and_add_content (sel); bool const ok = display_progress (_("DCP-o-matic"), _("Loading DCP")); |
