use anyhow crate, return id on insert

This commit is contained in:
yggverse 2025-03-07 18:14:37 +02:00
parent e859b97d79
commit 5effd63575
42 changed files with 496 additions and 1164 deletions

View file

@ -9,7 +9,7 @@ use std::rc::Rc;
fn main() -> ExitCode {
match gtk::init() {
Ok(_) => App::build(&Rc::new(Profile::new())).run(),
Ok(_) => App::build(&Rc::new(Profile::new().unwrap())).run(),
Err(_) => ExitCode::FAILURE,
}
}