mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-27 04:07:25 +01:00
Show tracks in recording screen
This commit is contained in:
parent
54e743b876
commit
4bb92a3c27
3 changed files with 148 additions and 4 deletions
|
|
@ -192,7 +192,9 @@ impl From<Track> for TrackDescription {
|
|||
fn from(track: Track) -> Self {
|
||||
let mut work_parts = Vec::<usize>::new();
|
||||
for part in track.work_parts.split(",") {
|
||||
work_parts.push(part.parse().unwrap());
|
||||
if !part.is_empty() {
|
||||
work_parts.push(part.parse().unwrap());
|
||||
}
|
||||
}
|
||||
|
||||
TrackDescription {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue