Add reel index/count to DCP filename format.
[dcpomatic.git] / src / wx / content_menu.cc
index 3d5b002798ee72d6c8cce2d968f0733879a8b0c6..70fc766ac9c14135590b9b9b15225eda8031dfe1 100644 (file)
@@ -160,10 +160,8 @@ ContentMenu::join ()
 
        try {
                shared_ptr<FFmpegContent> joined (new FFmpegContent (film, fc));
-               BOOST_FOREACH (shared_ptr<Content> i, _content) {
-                       film->remove_content (i);
-               }
-               film->add_content (joined);
+               film->remove_content (_content);
+               film->examine_and_add_content (joined);
        } catch (JoinError& e) {
                error_dialog (_parent, std_to_wx (e.what ()));
        }