Skip to content

Commit

Permalink
Always have cmd-o open a local project (zed-industries#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 noaccOS committed Oct 19, 2024
1 parent 0352070 commit d887cb5
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 d887cb5

Please sign in to comment.