summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-12-10 17:10:17 +0100
committerCarl Hetherington <cth@carlh.net>2024-12-26 17:20:24 +0100
commit8bfad2f1321042c00abbf7ef8d8486cb4f0af3f9 (patch)
treef48256c4c1ddedaccc783a37682a62c6841c679d
parent8cb1d6a487a5cb91ef1c53c607657198b7e1929a (diff)
Display the content title text rather than the annotation text in the player CPL menu (#2907).
-rw-r--r--src/tools/dcpomatic_player.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/dcpomatic_player.cc b/src/tools/dcpomatic_player.cc
index ed72de172..fefb09c49 100644
--- a/src/tools/dcpomatic_player.cc
+++ b/src/tools/dcpomatic_player.cc
@@ -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;