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
This commit is contained in:
parent
d340670fd4
commit
0f58d4f533
1 changed files with 0 additions and 6 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue