activate on construct

This commit is contained in:
yggverse 2024-10-03 20:03:43 +03:00
parent 711226737a
commit 56b2a26020
3 changed files with 74 additions and 112 deletions

View file

@ -32,7 +32,7 @@ fn main() -> ExitCode {
// Init GTK, start application
match gtk::init() {
Ok(_) => App::new(profile_database_connection).activate().run(),
Ok(_) => App::new(profile_database_connection).run(),
Err(_) => ExitCode::FAILURE,
}
}