summaryrefslogtreecommitdiff
path: root/src/wx/kdm_cpl_panel.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-01-02 01:58:59 +0100
committerCarl Hetherington <cth@carlh.net>2024-01-02 01:59:02 +0100
commit082d1d408fb5b503dc7b50dc97241c4ae794a753 (patch)
tree4d614eb611772ad5dcead8b0b0dcf9af3ba99bd5 /src/wx/kdm_cpl_panel.cc
parentbf4ea03da40f43219ae59568d0cc9535f2058b7f (diff)
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).
Diffstat (limited to 'src/wx/kdm_cpl_panel.cc')
-rw-r--r--src/wx/kdm_cpl_panel.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wx/kdm_cpl_panel.cc b/src/wx/kdm_cpl_panel.cc
index 8bd67db9e..4699582aa 100644
--- a/src/wx/kdm_cpl_panel.cc
+++ b/src/wx/kdm_cpl_panel.cc
@@ -96,6 +96,8 @@ KDMCPLPanel::update_cpl_summary ()
_dcp_directory->SetLabel (std_to_wx (_cpls[n].dcp_directory));
_cpl_id->SetLabel (std_to_wx (_cpls[n].cpl_id));
_cpl_annotation_text->SetLabel (std_to_wx(_cpls[n].cpl_annotation_text.get_value_or("")));
+
+ Changed();
}
void