Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
assistant2: Fix opening the configuration via the button (#23732)
Marshall Bowers970576489203
diff --git a/crates/assistant2/src/assistant_panel.rs b/crates/assistant2/src/assistant_panel.rsindex 8f42e538426..b6aa52b5ceb 100644--- a/crates/assistant2/src/assistant_panel.rs+++ b/crates/assistant2/src/assistant_panel.rs@@ -679,8 +679,8 @@ impl AssistantPanel {.icon_size(IconSize::Small).style(ButtonStyle::Subtle).tooltip(Tooltip::text("Configure Assistant"))- .on_click(move |_event, _window, cx| {- cx.dispatch_action(&OpenConfiguration);+ .on_click(move |_event, window, cx| {+ window.dispatch_action(OpenConfiguration.boxed_clone(), cx);}),),)