Allow 'Open Link' item to show on the contextual menu of web links. (fixes #3666)

This commit is contained in:
Ethan Wong
2022-11-13 12:19:31 +08:00
committed by Brent Simmons
parent 29d46d3cb4
commit d4f9c25df4

View File

@@ -66,7 +66,7 @@ private extension NSUserInterfaceItemIdentifier {
private extension DetailWebView {
static let menuItemIdentifiersToHide: [NSUserInterfaceItemIdentifier] = [.DetailMenuItemIdentifierReload, .DetailMenuItemIdentifierOpenLink]
static let menuItemIdentifiersToHide: [NSUserInterfaceItemIdentifier] = [.DetailMenuItemIdentifierReload]
static let menuItemIdentifierMatchStrings = ["newwindow", "download"]
func shouldHideMenuItem(_ menuItem: NSMenuItem) -> Bool {