Ensure search input always has regex language synced with search_options state (#25811)
Follow-up to https://github.com/zed-industries/zed/pull/25797 Release Notes: - N/A
This commit is contained in:
parent
22220ed32e
commit
5740fec9d5
2 changed files with 3 additions and 1 deletions
|
@ -894,6 +894,7 @@ impl ProjectSearchView {
|
|||
editor.set_text(old_query.as_str(), window, cx);
|
||||
});
|
||||
search_view.search_options = SearchOptions::from_query(&old_query);
|
||||
search_view.adjust_query_regex_language(cx);
|
||||
}
|
||||
}
|
||||
new_query
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue