Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
agent: Remove duplicate `OpenConfiguration` action registration (#27918)
Danilo Leal0f58d4f533fa
diff --git a/crates/agent/src/assistant_panel.rs b/crates/agent/src/assistant_panel.rsindex 1f01f06965d..cff3f61a219 100644--- a/crates/agent/src/assistant_panel.rs+++ b/crates/agent/src/assistant_panel.rs@@ -88,12 +88,6 @@ pub fn init(cx: &mut App) {});}})- .register_action(|workspace, _: &OpenConfiguration, window, cx| {- if let Some(panel) = workspace.panel::<AssistantPanel>(cx) {- workspace.focus_panel::<AssistantPanel>(window, cx);- panel.update(cx, |panel, cx| panel.open_configuration(window, cx));- }- }).register_action(|workspace, _: &OpenAgentDiff, window, cx| {if let Some(panel) = workspace.panel::<AssistantPanel>(cx) {workspace.focus_panel::<AssistantPanel>(window, cx);