From 5334e48951146372c42ab428ef5a2b15fcd40357 Mon Sep 17 00:00:00 2001 From: Conrad Irwin Date: Thu, 17 Oct 2024 10:36:53 -0600 Subject: [PATCH] Always have cmd-o open a local project (#19376) Release Notes: - Fixed `cmd-o` in an SSH project to always open a local project --- crates/workspace/src/workspace.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/crates/workspace/src/workspace.rs b/crates/workspace/src/workspace.rs index 626d4d9c1defa2..5bb864423405fe 100644 --- a/crates/workspace/src/workspace.rs +++ b/crates/workspace/src/workspace.rs @@ -1897,11 +1897,7 @@ impl Workspace { directories: true, multiple: true, }, - if self.project.read(cx).is_via_ssh() { - DirectoryLister::Project(self.project.clone()) - } else { - DirectoryLister::Local(self.app_state.fs.clone()) - }, + DirectoryLister::Local(self.app_state.fs.clone()), cx, );