Fix incorrect selector name

This commit is contained in:
Shadowfacts 2020-12-20 12:55:46 -05:00
parent d3c196949e
commit 1454e9dc01
1 changed files with 2 additions and 2 deletions

View File

@ -109,7 +109,7 @@ extension BrowserWindowController: NSToolbarDelegate {
item.paletteLabel = "Go Back"
item.toolTip = "Go to the previous page"
item.target = self
item.action = #selector(goBack)
item.action = #selector(back)
item.isBordered = true
if #available(macOS 10.16, *) {
item.isNavigational = true
@ -128,7 +128,7 @@ extension BrowserWindowController: NSToolbarDelegate {
item.paletteLabel = "Go Forward"
item.toolTip = "Go to the next page"
item.target = self
item.action = #selector(goForward)
item.action = #selector(forward)
item.isBordered = true
if #available(macOS 10.16, *) {
item.isNavigational = true