mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-27 19:02:07 +00:00
ssh remoting: open settings locally (#18020)
Release Notes: - ssh remoting: Open settings files in a non-remote window.
This commit is contained in:
parent
826777a257
commit
fb7a7a564a
1 changed files with 1 additions and 1 deletions
|
@ -1578,7 +1578,7 @@ impl Workspace {
|
|||
T: 'static,
|
||||
F: 'static + FnOnce(&mut Workspace, &mut ViewContext<Workspace>) -> T,
|
||||
{
|
||||
if self.project.read(cx).is_local_or_ssh() {
|
||||
if self.project.read(cx).is_local() {
|
||||
Task::Ready(Some(Ok(callback(self, cx))))
|
||||
} else {
|
||||
let env = self.project.read(cx).cli_environment(cx);
|
||||
|
|
Loading…
Reference in a new issue