Merge pull request #1481 from zed-industries/trigger-search-automatically
Automatically trigger project search to occur when deploying
This commit is contained in:
commit
ae8dd1e3fd
1 changed files with 1 additions and 0 deletions
|
@ -477,6 +477,7 @@ impl ProjectSearchView {
|
||||||
search.update(cx, |search, cx| {
|
search.update(cx, |search, cx| {
|
||||||
if let Some(query) = query {
|
if let Some(query) = query {
|
||||||
search.set_query(&query, cx);
|
search.set_query(&query, cx);
|
||||||
|
search.search(cx);
|
||||||
}
|
}
|
||||||
search.focus_query_editor(cx)
|
search.focus_query_editor(cx)
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue