Refactor the simplified playlist function

This commit is contained in:
Oscar Linderholm
2019-04-09 21:23:04 +02:00
committed by Henrik Friedrichsen
parent 0f0b2f3e2a
commit 5981b08458
4 changed files with 42 additions and 18 deletions

View File

@@ -68,7 +68,7 @@ impl QueueView {
list_select.add_item("[Create new]", None);
for list in playlists.items().iter() {
list_select.add_item(list.meta.name.clone(), Some(list.meta.id.clone()));
list_select.add_item(list.name.clone(), Some(list.id.clone()));
}
list_select.set_on_submit(move |s, selected| {