let search happen too
This commit is contained in:
1 parent
16e603b4a8
commit
b5149bb94e
1 file changed
+6
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user