summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-12-01 20:43:23 +0100
committerCarl Hetherington <cth@carlh.net>2022-12-01 20:43:23 +0100
commitff3e116f48298bbee68a3f5679bffd509930c19b (patch)
treebd801750ce9244705915e07d9a50bbd15806eae5
parent68397475b07181446d9593ca65c88c6261934afd (diff)
Double-click on content list adds the content.
-rw-r--r--src/tools/dcpomatic_playlist.cc1
1 files changed, 1 insertions, 0 deletions
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));
}