From 4bbde40267ab5b1f96af879fbefc22e4a817d878 Mon Sep 17 00:00:00 2001 From: Bennet Bo Fenner Date: Mon, 4 Nov 2024 17:41:25 +0100 Subject: [PATCH] recent projects: Fix inconsistent keybinding with which window is replaced or not (#20176) This removes the inconsistency between these two workflows: - Clicking on the project name in the upper left shows: image - Using `projects: Open recent` shows: image --- We now use `enter` to re-use the window and `cmd-enter` to open a new window in both cases Closes #16361 Release Notes: - Fixed an inconsistency in the recent project picker, where different keybindings would determine whether to reuse the window or not --- crates/recent_projects/src/recent_projects.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/recent_projects/src/recent_projects.rs b/crates/recent_projects/src/recent_projects.rs index 22068900c9badcf61e6cffa4074e8b5f1caa1fca..c74576d4d0443e778079cc088243022db9f043a5 100644 --- a/crates/recent_projects/src/recent_projects.rs +++ b/crates/recent_projects/src/recent_projects.rs @@ -39,7 +39,7 @@ pub struct OpenRecent { } fn default_create_new_window() -> bool { - true + false } gpui::impl_actions!(projects, [OpenRecent]);