From 04607b84aa56a918e4885a229955098cd91418a9 Mon Sep 17 00:00:00 2001 From: Ian Douglas Scott Date: Thu, 26 Jan 2023 16:01:43 -0800 Subject: [PATCH] Don't ignore `iced::Command` --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index a7c7651..bceee5e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -326,7 +326,7 @@ impl Application for App { } } Msg::Close => { - self.hide(); + return self.hide(); } Msg::Closed(_) => {} Msg::ActivateWorkspace(workspace_handle) => { @@ -342,7 +342,7 @@ impl Application for App { toplevel_manager.activate(&toplevel_handle, &seat); self.conn.as_ref().unwrap().flush(); } - self.hide(); + return self.hide(); } } }