Skip to content

Commit d0c63dc

Browse files
committed
Rename IBAction
1 parent ab57f92 commit d0c63dc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

devdocs-macos/DocumentationViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ class DocumentationViewController: NSViewController {
9090

9191
// MARK:- Page search
9292

93-
@IBAction func searchDocumentation(_ sender: NSSearchField) {
93+
@IBAction func searchPageContents(_ sender: NSSearchField) {
9494
let argsBytes = try! JSONSerialization.data(withJSONObject: ["term": sender.stringValue])
9595
let args = NSString(data: argsBytes, encoding: String.Encoding.utf8.rawValue)! as String
9696
webView.evaluateJavaScript("search( (\(args))[\"term\"] );")

devdocs-macos/DocumentationWindow.xib

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
4141
</searchFieldCell>
4242
<connections>
43-
<action selector="searchDocumentation:" target="f61-KY-zVD" id="ZAe-5r-fMu"/>
43+
<action selector="searchPageContents:" target="f61-KY-zVD" id="ZAe-5r-fMu"/>
4444
<outlet property="delegate" destination="f61-KY-zVD" id="6cm-hv-cR5"/>
4545
</connections>
4646
</searchField>

0 commit comments

Comments
 (0)