From: Carl Hetherington Date: Thu, 1 Dec 2022 19:43:23 +0000 (+0100) Subject: Double-click on content list adds the content. X-Git-Tag: v2.16.36~39^2 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=ff3e116f48298bbee68a3f5679bffd509930c19b Double-click on content list adds the content. --- diff --git a/src/tools/dcpomatic_playlist.cc b/src/tools/dcpomatic_playlist.cc index 175eafac7..96dff56ed 100644 --- a/src/tools/dcpomatic_playlist.cc +++ b/src/tools/dcpomatic_playlist.cc @@ -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)); }