mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 19:57:25 +01:00
editor: implement tracks editor parts list
This commit is contained in:
parent
642d9340e5
commit
53680df13d
15 changed files with 311 additions and 32 deletions
|
|
@ -301,8 +301,12 @@ impl MusicusHomePage {
|
|||
}
|
||||
Tag::Work(work) => {
|
||||
imp.title_label.set_text(&work.name.get());
|
||||
imp.subtitle_label.set_text(&work.composers_string());
|
||||
imp.subtitle_label.set_visible(true);
|
||||
if let Some(composers) = work.composers_string() {
|
||||
imp.subtitle_label.set_text(&composers);
|
||||
imp.subtitle_label.set_visible(true);
|
||||
} else {
|
||||
imp.subtitle_label.set_visible(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue