Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

project search: Do not open a new existing item in the current pane for DeploySearch

Piotr Osiewicz634a55257d2c
diff --git a/crates/search/src/project_search.rs b/crates/search/src/project_search.rs
index 6fd66b5bad2..8244c1cf283 100644
--- a/crates/search/src/project_search.rs
+++ b/crates/search/src/project_search.rs
@@ -1016,8 +1016,6 @@ impl ProjectSearchView {
view
};
- workspace.add_item(Box::new(search.clone()), cx);
-
search.update(cx, |search, cx| {
if let Some(query) = query {
search.set_query(&query, cx);