From fb7a7a564a54aa12f0f97a9dd36bf9bf30c16807 Mon Sep 17 00:00:00 2001 From: Conrad Irwin Date: Wed, 18 Sep 2024 11:15:54 -0600 Subject: [PATCH] ssh remoting: open settings locally (#18020) Release Notes: - ssh remoting: Open settings files in a non-remote window. --- crates/workspace/src/workspace.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/workspace/src/workspace.rs b/crates/workspace/src/workspace.rs index a7c63c57f6..98ac49992d 100644 --- a/crates/workspace/src/workspace.rs +++ b/crates/workspace/src/workspace.rs @@ -1578,7 +1578,7 @@ impl Workspace { T: 'static, F: 'static + FnOnce(&mut Workspace, &mut ViewContext) -> 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);