From 082d1d408fb5b503dc7b50dc97241c4ae794a753 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 2 Jan 2024 01:58:59 +0100 Subject: Observe CPL changing, so that (e.g.) Make KDM button becomes sensitive when selecting a screen and then choosing a CPL by browsing the filesystem (when there was no CPL previously selected). --- src/wx/kdm_cpl_panel.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/wx/kdm_cpl_panel.h') diff --git a/src/wx/kdm_cpl_panel.h b/src/wx/kdm_cpl_panel.h index 9ce90217e..91821d7a3 100644 --- a/src/wx/kdm_cpl_panel.h +++ b/src/wx/kdm_cpl_panel.h @@ -25,6 +25,7 @@ LIBDCP_DISABLE_WARNINGS #include LIBDCP_ENABLE_WARNINGS #include +#include class KDMCPLPanel : public wxPanel @@ -35,6 +36,8 @@ public: boost::filesystem::path cpl () const; bool has_selected () const; + boost::signals2::signal Changed; + private: void update_cpl_choice (); void update_cpl_summary (); -- cgit v1.2.3