Show search results in tab

This commit is contained in:
Jeremy Soller 2024-05-31 15:19:47 -06:00
parent c5bff149c0
commit 6d8dbb398e
3 changed files with 118 additions and 128 deletions

View file

@ -92,7 +92,7 @@ pub fn context_menu<'a>(
let mut children: Vec<Element<_>> = Vec::new();
match tab.location {
Location::Path(_) => {
Location::Path(_) | Location::Search(_, _) => {
if selected > 0 {
children.push(menu_item(fl!("open"), Action::Open).into());
if selected == 1 {