SSH Remoting: Fix Save As (#19517)
Co-Authored-By: Mikayla <mikayla@zed.dev> Closes #ISSUE Release Notes: - SSH Remoting: Fix SaveAs to pick the file on the remote Co-authored-by: Mikayla <mikayla@zed.dev>
This commit is contained in:
@@ -1528,7 +1528,7 @@ impl Workspace {
|
||||
&mut self,
|
||||
cx: &mut ViewContext<Self>,
|
||||
) -> oneshot::Receiver<Option<ProjectPath>> {
|
||||
if self.project.read(cx).is_via_collab()
|
||||
if (self.project.read(cx).is_via_collab() || self.project.read(cx).is_via_ssh())
|
||||
|| !WorkspaceSettings::get_global(cx).use_system_path_prompts
|
||||
{
|
||||
let prompt = self.on_prompt_for_new_path.take().unwrap();
|
||||
|
||||
Reference in New Issue
Block a user