diff --git a/crates/recent_projects/src/recent_projects.rs b/crates/recent_projects/src/recent_projects.rs index 22068900c9..c0945f4316 100644 --- a/crates/recent_projects/src/recent_projects.rs +++ b/crates/recent_projects/src/recent_projects.rs @@ -278,11 +278,7 @@ impl PickerDelegate for RecentProjectsDelegate { { let (candidate_workspace_id, candidate_workspace_location) = &self.workspaces[selected_match.candidate_id]; - let replace_current_window = if self.create_new_window { - secondary - } else { - !secondary - }; + let replace_current_window = true; workspace .update(cx, |workspace, cx| { if workspace.database_id() == Some(*candidate_workspace_id) { diff --git a/crates/zed/src/zed.rs b/crates/zed/src/zed.rs index 427e3ab9f6..2c231e6591 100644 --- a/crates/zed/src/zed.rs +++ b/crates/zed/src/zed.rs @@ -323,7 +323,7 @@ pub fn initialize_workspace( if let Some(task) = this .update(&mut cx, |this, cx| { if this.project().read(cx).is_local() { - this.open_workspace_for_paths(false, paths, cx) + this.open_workspace_for_paths(true, paths, cx) } else { open_new_ssh_project_from_project(this, paths, cx) }