mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
2099 | Keyboard shortcut to open in browser in background/foreground contrary to user preference.
- Add openInBrowserAlternate() function - Add shit-modified entries to to GlobalKeyboardShortcuts.plist to trigger new function
This commit is contained in:
@@ -269,6 +269,12 @@ class MainWindowController : NSWindowController, NSUserInterfaceValidations {
|
||||
openArticleInBrowser(sender)
|
||||
}
|
||||
|
||||
@IBAction func openInBrowserAlternate(_ sender: Any?) {
|
||||
if let link = currentLink {
|
||||
Browser.open(link, inBackground: !AppDefaults.openInBrowserInBackground)
|
||||
}
|
||||
}
|
||||
|
||||
@IBAction func nextUnread(_ sender: Any?) {
|
||||
guard let timelineViewController = currentTimelineViewController, let sidebarViewController = sidebarViewController else {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user