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) }