Add work and recording detail screens

This commit is contained in:
Elias Projahn 2020-10-10 13:55:14 +02:00
parent cca722dcba
commit d741f463f5
4 changed files with 657 additions and 382 deletions

View file

@ -51,7 +51,7 @@ where
let (id, work, performers) = match recording {
Some(recording) => {
save_button.set_sensitive(true);
work_label.set_text(&format!("{}: {}", recording.work.composer.name_fl(), recording.work.title));
work_label.set_text(&recording.work.get_title());
comment_entry.set_text(&recording.comment);
(recording.id, Some(recording.work), recording.performances)
}