From 901795bcb98b9d85cfab42c95368e792122e7ca0 Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Tue, 19 Dec 2023 14:12:29 -0800 Subject: [PATCH] Don't reset the collab panel when it loses focus --- crates/collab_ui2/src/collab_panel.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/crates/collab_ui2/src/collab_panel.rs b/crates/collab_ui2/src/collab_panel.rs index b7dd24b9ab..28d1b12bea 100644 --- a/crates/collab_ui2/src/collab_panel.rs +++ b/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();