editor: implement tracks editor parts list

This commit is contained in:
Elias Projahn 2025-02-16 08:46:40 +01:00
parent 642d9340e5
commit 53680df13d
15 changed files with 311 additions and 32 deletions

View file

@ -248,7 +248,11 @@ impl MusicusRecordingEditor {
fn set_work(&self, work: Work) {
self.imp().work_row.set_title(&work.name.get());
self.imp().work_row.set_subtitle(&work.composers_string());
self.imp().work_row.set_subtitle(
&work
.composers_string()
.unwrap_or_else(|| gettext("No composers")),
);
self.imp().work.replace(Some(work));
}