From 0f58d4f533fa18a26ec3d0396cff1ad0362c94f5 Mon Sep 17 00:00:00 2001 From: Danilo Leal <67129314+danilo-leal@users.noreply.github.com> Date: Wed, 2 Apr 2025 11:16:59 -0300 Subject: [PATCH] agent: Remove duplicate `OpenConfiguration` action registration (#27918) I had introduced the same thing a few days ago without noticing there was one in place already! Release Notes: - N/A --- crates/agent/src/assistant_panel.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/crates/agent/src/assistant_panel.rs b/crates/agent/src/assistant_panel.rs index 1f01f06965..cff3f61a21 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::(cx) { - workspace.focus_panel::(window, cx); - panel.update(cx, |panel, cx| panel.open_configuration(window, cx)); - } - }) .register_action(|workspace, _: &OpenAgentDiff, window, cx| { if let Some(panel) = workspace.panel::(cx) { workspace.focus_panel::(window, cx);