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