switch to libcosmics builtin rfd instead of our own
This commit is contained in:
parent
66e33be26c
commit
54ef90442e
6 changed files with 22 additions and 109 deletions
22
src/main.rs
22
src/main.rs
|
@ -455,29 +455,7 @@ impl cosmic::Application for App {
|
|||
})
|
||||
}
|
||||
Message::Library(message) => {
|
||||
<<<<<<< HEAD
|
||||
// debug!(?message);
|
||||
let (mut kind, mut index): (LibraryKind, i32) =
|
||||
(LibraryKind::Song, 0);
|
||||
let mut opened_item = false;
|
||||
match message {
|
||||
library::Message::OpenItem(item) => {
|
||||
let Some(item) = item else {
|
||||
return ().into();
|
||||
};
|
||||
debug!("opening: {:?}", item);
|
||||
kind = item.0;
|
||||
index = item.1;
|
||||
opened_item = true;
|
||||
}
|
||||
_ => {
|
||||
// debug!("none");
|
||||
()
|
||||
}
|
||||
};
|
||||
=======
|
||||
let mut song = Song::default();
|
||||
>>>>>>> 93b021e (fixed lots of bugs by return Action enums in song_editor and library)
|
||||
if let Some(library) = &mut self.library {
|
||||
match library.update(message) {
|
||||
library::Action::OpenItem(None) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue