Don't reset the collab panel when it loses focus

Max Brunsfeld created

Change summary

crates/collab_ui2/src/collab_panel.rs | 6 ------
1 file changed, 6 deletions(-)

Detailed changes

crates/collab_ui2/src/collab_panel.rs 🔗

@@ -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();