Automatically unfollow when editing, scrolling or changing selections
This commit is contained in:
parent
c550fc3f01
commit
3117554568
14 changed files with 214 additions and 60 deletions
|
@ -291,7 +291,7 @@ impl FileFinder {
|
|||
cx: &mut ViewContext<Self>,
|
||||
) {
|
||||
match event {
|
||||
editor::Event::Edited => {
|
||||
editor::Event::Edited { .. } => {
|
||||
let query = self.query_editor.update(cx, |buffer, cx| buffer.text(cx));
|
||||
if query.is_empty() {
|
||||
self.latest_search_id = post_inc(&mut self.search_count);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue