Display the content title text rather than the annotation text in the player CPL...
authorCarl Hetherington <cth@carlh.net>
Tue, 10 Dec 2024 16:10:17 +0000 (17:10 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 26 Dec 2024 16:20:24 +0000 (17:20 +0100)
src/tools/dcpomatic_player.cc

index ed72de172897a031a390d5ad08bcaca488f90c72..fefb09c4908ca545b6e31e4a939153ce7105877d 100644 (file)
@@ -531,7 +531,7 @@ public:
                                for (auto i: dcp::find_and_resolve_cpls(first->directories(), true)) {
                                        auto j = _cpl_menu->AppendRadioItem(
                                                id,
-                                               wxString::Format(char_to_wx("%s (%s)"), std_to_wx(i->annotation_text().get_value_or("")).data(), std_to_wx(i->id()).data())
+                                               wxString::Format(char_to_wx("%s (%s)"), std_to_wx(i->content_title_text()).data(), std_to_wx(i->id()).data())
                                                );
                                        j->Check(!first->cpl() || i->id() == *first->cpl());
                                        ++id;