implement deletion of playlists

closes #11
This commit is contained in:
Henrik Friedrichsen
2019-03-26 22:24:20 +01:00
parent 0e3c9fc504
commit 83a394790f
6 changed files with 57 additions and 3 deletions

View File

@@ -288,6 +288,16 @@ impl CommandManager {
});
}
{
if let Some(Some(dialog)) = s
.call_on_id("playlists", |v: &mut ui::playlists::PlaylistView| {
v.delete_dialog()
})
{
s.add_layer(dialog);
}
}
Ok(None)
}),
);