mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 19:57:25 +01:00
Fully functional person editor
This commit is contained in:
parent
f49f23a501
commit
3dc601e0f0
10 changed files with 214 additions and 43 deletions
|
|
@ -141,8 +141,11 @@ impl MusicusHomePage {
|
|||
if let Some(tag) = self.imp().search_entry.tags().first() {
|
||||
match tag {
|
||||
Tag::Composer(person) | Tag::Performer(person) => {
|
||||
self.navigation()
|
||||
.push(&MusicusPersonEditor::new(Some(person)));
|
||||
self.navigation().push(&MusicusPersonEditor::new(
|
||||
&self.navigation(),
|
||||
&self.library(),
|
||||
Some(person),
|
||||
));
|
||||
}
|
||||
Tag::Ensemble(_) => todo!(),
|
||||
Tag::Work(work) => self.navigation().push(&MusicusWorkEditor::new(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue