let search happen too

This commit is contained in:
Conrad Irwin 2024-01-04 09:48:47 -07:00
parent 427e7f6b4f
commit fcf7007e0b

View file

@ -392,7 +392,12 @@ impl ProjectPanel {
let context_menu = ContextMenu::build(cx, |mut menu, cx| {
if is_read_only {
return menu.action("Copy Relative Path", Box::new(CopyRelativePath));
menu = menu.action("Copy Relative Path", Box::new(CopyRelativePath));
if is_dir {
menu = menu.action("Search Inside", Box::new(NewSearchInDirectory))
}
return menu;
}
if is_local {