mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 11:47:25 +01:00
Add ensemble editor dialog
This commit is contained in:
parent
1a6a6f7450
commit
44cb9fa410
5 changed files with 152 additions and 3 deletions
|
|
@ -48,9 +48,15 @@ impl Window {
|
|||
println!("TODO: Add work.");
|
||||
});
|
||||
|
||||
action!(result.window, "add-ensemble", |_, _| {
|
||||
println!("TODO: Add ensemble.");
|
||||
});
|
||||
action!(
|
||||
result.window,
|
||||
"add-ensemble",
|
||||
clone!(@strong result => move |_, _| {
|
||||
EnsembleEditor::new(result.db.clone(), &result.window, None, |ensemble| {
|
||||
println!("{:?}", ensemble);
|
||||
}).show();
|
||||
})
|
||||
);
|
||||
|
||||
action!(result.window, "add-recording", |_, _| {
|
||||
println!("TODO: Add recording.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue