Double-click on content list adds the content.
authorCarl Hetherington <cth@carlh.net>
Thu, 1 Dec 2022 19:43:23 +0000 (20:43 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 1 Dec 2022 19:43:23 +0000 (20:43 +0100)
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));
        }