Fix incorrect selector name
This commit is contained in:
parent
d3c196949e
commit
1454e9dc01
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue