Create several ways to quit the application #197

Merged
savanni merged 3 commits from fitnesstrax/quit into main 2024-02-19 17:06:06 +00:00
1 changed files with 4 additions and 0 deletions
Showing only changes of commit 56ff5527ba - Show all commits

View File

@ -56,6 +56,10 @@ impl AppWindow {
.width_request(800) .width_request(800)
.height_request(746) .height_request(746)
.build(); .build();
window.connect_destroy({
let adw_app = adw_app.clone();
move |_| adw_app.quit()
});
let stylesheet = String::from_utf8( let stylesheet = String::from_utf8(
resources_lookup_data( resources_lookup_data(