From 601dedf5e05d619a49d88b505ff407170696942f Mon Sep 17 00:00:00 2001 From: ochibani <11yzyv86j@relay.firefox.com> Date: Thu, 2 Jan 2025 23:52:57 +0200 Subject: [PATCH] update main_window close --- gui/src/ui.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) });