Don't reset the collab panel when it loses focus

This commit is contained in:
Max Brunsfeld 2023-12-19 14:12:29 -08:00
parent 1b09862384
commit 901795bcb9

View file

@ -199,12 +199,6 @@ impl CollabPanel {
.iter()
.position(|entry| !matches!(entry, ListEntry::Header(_)));
}
} else if let editor::EditorEvent::Blurred = event {
let query = this.filter_editor.read(cx).text(cx);
if query.is_empty() {
this.selection.take();
this.update_entries(true, cx);
}
}
})
.detach();