When opening items via project panel, only focus them on double-click
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
61346f734d
commit
2e6cf2011d
7 changed files with 98 additions and 61 deletions
|
@ -102,7 +102,7 @@ impl FileFinder {
|
|||
match event {
|
||||
Event::Selected(project_path) => {
|
||||
workspace
|
||||
.open_path(project_path.clone(), cx)
|
||||
.open_path(project_path.clone(), true, cx)
|
||||
.detach_and_log_err(cx);
|
||||
workspace.dismiss_modal(cx);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue