From a2da454b551caf1ad987dc02a5e8bfe38a1d9137 Mon Sep 17 00:00:00 2001 From: Martin Ball Date: Wed, 18 Nov 2026 18:19:32 +0000 Subject: [PATCH] dialogs: drop the owed take_child_erased (dialogs-w1 wrote DialogHost's child opening) --- crates/ui-panels/src/dialog/host.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/crates/ui-panels/src/dialog/host.rs b/crates/ui-panels/src/dialog/host.rs index 051dd931e..d6ad390ae 100644 --- a/crates/ui-panels/src/dialog/host.rs +++ b/crates/ui-panels/src/dialog/host.rs @@ -217,7 +217,6 @@ trait AnyStackDialog: Send { fn key(&self) -> Option; fn instance(&self) -> Option; fn confirm_erased(&mut self, ctx: &Context) -> Option>; - fn take_child_erased(&mut self) -> Option; fn held_state(&self) -> Option; fn canvas(&self) -> Option; fn json_fields(&self) -> Option; @@ -259,10 +258,6 @@ impl AnyStackDialog for D { self.confirm(ctx).map(|result| Box::new(DialogResult::Ok(result)) as Box) } - fn take_child_erased(&mut self) -> Option { - StackDialog::take_child(self) - } - fn held_state(&self) -> Option { StackDialog::held_state(self) }