ssh remoting: open settings locally (#18020)

Conrad Irwin created

Release Notes:

- ssh remoting: Open settings files in a non-remote window.

Change summary

crates/workspace/src/workspace.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

crates/workspace/src/workspace.rs 🔗

@@ -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);