Merge pull request #1699 from jasonrhansen/open-item-location

feat: add 'Open item location' to search
This commit is contained in:
Levi Portenier 2026-03-24 15:14:12 -06:00 committed by GitHub
commit 0b7294d4e4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -215,7 +215,7 @@ pub fn context_menu<'a>(
.push(menu_item(fl!("open-in-terminal"), Action::OpenTerminal).into());
}
}
if tab.location.is_recents() {
if tab.location.is_recents() || matches!(tab.location, Location::Search(..)) {
children.push(
menu_item(fl!("open-item-location"), Action::OpenItemLocation).into(),
);