mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 11:47:25 +01:00
Basic support for random programs
This commit is contained in:
parent
016bace36e
commit
815dede141
4 changed files with 170 additions and 104 deletions
|
|
@ -154,6 +154,7 @@ impl MusicusWindow {
|
|||
|
||||
fn load_library(&self, path: impl AsRef<Path>) {
|
||||
let library = MusicusLibrary::new(path);
|
||||
self.imp().player.set_library(&library);
|
||||
|
||||
let navigation = self.imp().navigation_view.get();
|
||||
navigation.replace(&[MusicusHomePage::new(&navigation, &library, &self.imp().player).into()]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue