parent
e3b593efbd
commit
c4083b9b63
28 changed files with 103 additions and 104 deletions
|
@ -1340,7 +1340,7 @@ impl BufferSearchBar {
|
|||
if self.query(cx).is_empty()
|
||||
&& let Some(new_query) = self
|
||||
.search_history
|
||||
.current(&mut self.search_history_cursor)
|
||||
.current(&self.search_history_cursor)
|
||||
.map(str::to_string)
|
||||
{
|
||||
drop(self.search(&new_query, Some(self.search_options), window, cx));
|
||||
|
|
|
@ -4111,7 +4111,7 @@ pub mod tests {
|
|||
});
|
||||
cx.run_until_parked();
|
||||
let project_search_view = pane
|
||||
.read_with(&mut cx, |pane, _| {
|
||||
.read_with(&cx, |pane, _| {
|
||||
pane.active_item()
|
||||
.and_then(|item| item.downcast::<ProjectSearchView>())
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue