Skip to content

Commit

Permalink
Always have cmd-o open a local project (#19376)
Browse files Browse the repository at this point in the history
Release Notes:

- Fixed `cmd-o` in an SSH project to always open a local project
  • Loading branch information
ConradIrwin authored and mikayla-maki committed Oct 18, 2024
1 parent d7ff85e commit 5334e48
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions crates/workspace/src/workspace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
);

Expand Down

0 comments on commit 5334e48

Please sign in to comment.