Add recording editor

This commit is contained in:
Elias Projahn 2020-10-09 23:02:50 +02:00
parent c3e7663be9
commit bd3a61c4bf
5 changed files with 386 additions and 3 deletions

View file

@ -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,