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:
parent
cb3eb75712
commit
6b7d85b769
1 changed files with 1 additions and 1 deletions
|
@ -1528,7 +1528,7 @@ impl Workspace {
|
||||||
&mut self,
|
&mut self,
|
||||||
cx: &mut ViewContext<Self>,
|
cx: &mut ViewContext<Self>,
|
||||||
) -> oneshot::Receiver<Option<ProjectPath>> {
|
) -> 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
|
|| !WorkspaceSettings::get_global(cx).use_system_path_prompts
|
||||||
{
|
{
|
||||||
let prompt = self.on_prompt_for_new_path.take().unwrap();
|
let prompt = self.on_prompt_for_new_path.take().unwrap();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue