diff --git a/gui/src/ui.rs b/gui/src/ui.rs index 06c8fad..8b62064 100644 --- a/gui/src/ui.rs +++ b/gui/src/ui.rs @@ -1122,7 +1122,7 @@ fn build_ui(application: &Application, error_dialog: MessageDialog, error_messag .as_inner().id() )).output().unwrap(); } - main_window.close(); + main_window.destroy(); adw::gtk::Inhibit(true) });