Always have cmd-o open a local project (#19376)
Release Notes: - Fixed `cmd-o` in an SSH project to always open a local project
This commit is contained in:
parent
e6b9a8ef9b
commit
65fb2782eb
1 changed files with 1 additions and 5 deletions
|
@ -1897,11 +1897,7 @@ impl Workspace {
|
||||||
directories: true,
|
directories: true,
|
||||||
multiple: true,
|
multiple: true,
|
||||||
},
|
},
|
||||||
if self.project.read(cx).is_via_ssh() {
|
DirectoryLister::Local(self.app_state.fs.clone()),
|
||||||
DirectoryLister::Project(self.project.clone())
|
|
||||||
} else {
|
|
||||||
DirectoryLister::Local(self.app_state.fs.clone())
|
|
||||||
},
|
|
||||||
cx,
|
cx,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue