Double-click on content list adds the content.
[dcpomatic.git] / src / tools / dcpomatic_playlist.cc
index 175eafac7d1447328d369583581793e917d1a423..96dff56ed21ec169264eb6d822ae7f3a8ac5366e 100644 (file)
@@ -90,6 +90,7 @@ public:
 
                overall_sizer->Layout ();
 
+               _content_view->Bind(wxEVT_LIST_ITEM_ACTIVATED, boost::bind(&ContentDialog::EndModal, this, wxID_OK));
                _config_changed_connection = Config::instance()->Changed.connect(boost::bind(&ContentView::update, _content_view));
        }