let search happen too
This commit is contained in:
parent
427e7f6b4f
commit
fcf7007e0b
1 changed files with 6 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue