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.paletteLabel = "Go Back"
|
||||||
item.toolTip = "Go to the previous page"
|
item.toolTip = "Go to the previous page"
|
||||||
item.target = self
|
item.target = self
|
||||||
item.action = #selector(goBack)
|
item.action = #selector(back)
|
||||||
item.isBordered = true
|
item.isBordered = true
|
||||||
if #available(macOS 10.16, *) {
|
if #available(macOS 10.16, *) {
|
||||||
item.isNavigational = true
|
item.isNavigational = true
|
||||||
|
@ -128,7 +128,7 @@ extension BrowserWindowController: NSToolbarDelegate {
|
||||||
item.paletteLabel = "Go Forward"
|
item.paletteLabel = "Go Forward"
|
||||||
item.toolTip = "Go to the next page"
|
item.toolTip = "Go to the next page"
|
||||||
item.target = self
|
item.target = self
|
||||||
item.action = #selector(goForward)
|
item.action = #selector(forward)
|
||||||
item.isBordered = true
|
item.isBordered = true
|
||||||
if #available(macOS 10.16, *) {
|
if #available(macOS 10.16, *) {
|
||||||
item.isNavigational = true
|
item.isNavigational = true
|
||||||
|
|
Loading…
Reference in New Issue