Updated function name to openInBrowserUsingOppositeOfSettings

This commit is contained in:
Martin Nash 2020-05-21 22:28:21 -07:00
parent 834be9edff
commit 3e48be050e
2 changed files with 4 additions and 4 deletions

View File

@ -269,7 +269,7 @@ class MainWindowController : NSWindowController, NSUserInterfaceValidations {
openArticleInBrowser(sender) openArticleInBrowser(sender)
} }
@IBAction func openInBrowserAlternate(_ sender: Any?) { @IBAction func openInBrowserUsingOppositeOfSettings(_ sender: Any?) {
if let link = currentLink { if let link = currentLink {
Browser.open(link, inBackground: !AppDefaults.openInBrowserInBackground) Browser.open(link, inBackground: !AppDefaults.openInBrowserInBackground)
} }

View File

@ -146,7 +146,7 @@
<key>shiftModifier</key> <key>shiftModifier</key>
<true/> <true/>
<key>action</key> <key>action</key>
<string>openInBrowserAlternate:</string> <string>openInBrowserUsingOppositeOfSettings:</string>
</dict> </dict>
<dict> <dict>
<key>key</key> <key>key</key>
@ -154,7 +154,7 @@
<key>shiftModifier</key> <key>shiftModifier</key>
<true/> <true/>
<key>action</key> <key>action</key>
<string>openInBrowserAlternate:</string> <string>openInBrowserUsingOppositeOfSettings:</string>
</dict> </dict>
<dict> <dict>
<key>key</key> <key>key</key>
@ -162,7 +162,7 @@
<key>shiftModifier</key> <key>shiftModifier</key>
<true/> <true/>
<key>action</key> <key>action</key>
<string>openInBrowserAlternate:</string> <string>openInBrowserUsingOppositeOfSettings:</string>
</dict> </dict>
</array> </array>
</plist> </plist>