diff --git a/crates/project_panel/src/project_panel.rs b/crates/project_panel/src/project_panel.rs index 4892a2106866797e6bff8c2db8de5435bd20cd50..d87df13a9baa991d3510b22f81d1cd40f0a1ea97 100644 --- a/crates/project_panel/src/project_panel.rs +++ b/crates/project_panel/src/project_panel.rs @@ -2665,7 +2665,7 @@ impl ProjectPanel { entry_id, cx.modifiers().secondary(), !preview_tabs_enabled || click_count > 1, - !preview_tabs_enabled && click_count == 1, + preview_tabs_enabled && click_count == 1, cx, ); }