Don't ignore iced::Command

This commit is contained in:
Ian Douglas Scott 2023-01-26 16:01:43 -08:00
parent cc87545b7d
commit 04607b84aa

View file

@ -326,7 +326,7 @@ impl Application for App {
} }
} }
Msg::Close => { Msg::Close => {
self.hide(); return self.hide();
} }
Msg::Closed(_) => {} Msg::Closed(_) => {}
Msg::ActivateWorkspace(workspace_handle) => { Msg::ActivateWorkspace(workspace_handle) => {
@ -342,7 +342,7 @@ impl Application for App {
toplevel_manager.activate(&toplevel_handle, &seat); toplevel_manager.activate(&toplevel_handle, &seat);
self.conn.as_ref().unwrap().flush(); self.conn.as_ref().unwrap().flush();
} }
self.hide(); return self.hide();
} }
} }
} }